Some core features.
The methods "saved" and "denied" add given messages to the flashbag and redirect to given route. When using JMS Object-Routing use "savedObject" and "deniedObject" to redirect by object routing.
Provides methods for softdeleteable entities, using "deleted" as boolean.
Static methods to encrypt and decrypt using AES256.
Basic static method to slug strings, e.g. convert "Hello, world" to "hello-world" for usage as path.
A new and very simple class, at the moment only providing a "slug" function to convert characters not supported by SEPA, like "&".
Used for X-To-Many relations to get all relations where deleted is false
/**
* @var Dummy[]|Collection
*
* @ORM\OneToMany(targetEntity="Acme\DummyBundle\Entity\Dummy", mappedBy="foobar")
*/
private $dummies;
/**
* @return Collection|Dummy[]
*/
public function getDummies()
{
return SoftdeleteUtility::getNotDeleted($this->dummies);
}