|
|
|
|
|
|
|
|
->setParameter(':user', $user); |
|
|
->setParameter(':user', $user); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function filterByCrudAction(string $crudAction): self |
|
|
|
|
|
|
|
|
public function filterByCrudAction(?string $crudAction= null): self |
|
|
{ |
|
|
{ |
|
|
if (is_null($crudAction)) { |
|
|
if (is_null($crudAction)) { |
|
|
return $this |
|
|
return $this |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function filterByCrudControllerFqcn(string $crudControllerFqcn): self |
|
|
|
|
|
|
|
|
public function filterByCrudControllerFqcn(?string $crudControllerFqcn= null): self |
|
|
{ |
|
|
{ |
|
|
if (is_null($crudControllerFqcn)) { |
|
|
if (is_null($crudControllerFqcn)) { |
|
|
return $this |
|
|
return $this |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public function filterByEntityId(int $entityId): self |
|
|
|
|
|
|
|
|
public function filterByEntityId(?int $entityId=null): self |
|
|
{ |
|
|
{ |
|
|
if (is_null($entityId)) { |
|
|
if (is_null($entityId)) { |
|
|
return $this |
|
|
return $this |