메소드 |
설명 |
|
deleteAction ( Request $request, Mixed $entity, string $redirectPath = null ) : RedirectResponse |
Updated edited element action |
|
disableAction ( Request $request, Elcodi\Component\Core\Entity\Interfaces\EnabledInterface $entity ) : array |
Disable entity |
|
disableEntity ( Elcodi\Component\Core\Entity\Interfaces\EnabledInterface $entity ) |
Disables the given entity |
|
enableAction ( Request $request, Elcodi\Component\Core\Entity\Interfaces\EnabledInterface $entity ) : array |
Enable entity |
|
enableEntity ( Elcodi\Component\Core\Entity\Interfaces\EnabledInterface $entity ) |
Enables the given entity |
|
flush ( mixed $entity ) |
Save an entity. To ensure the method is simple, the entity will be
persisted always |
|
flushCache ( ) |
Flush cache |
|
getFailResponse ( Request $request, Exception $exception ) : mixed |
Return fail response |
|
getOkResponse ( Request $request, string $redirectPath = null ) : mixed |
Return ok response |
|
getResponse ( Request $request, Closure $closure, string $redirectPath = null ) : mixed |
Return response |
|
redirectRoute ( string $route, array $params = [] ) : RedirectResponse |
Return a RedirectResponse given a route name and an array of parameters |
|
translate ( string $string ) : string |
Translate |
|