Answer the question
In order to leave comments, you need to log in
How to select files by extension?
Hello.
I have a method that makes a selection by two criteria, by parentId and image. These are table fields.
public function getFotoByParentIdWithPng ()
{
$asutpService = $this->getAsutpRepository();
$foto = ['parentId' => '2',
'image' => 'sh1.png'];
return $asutpService->findBy($foto);
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question