Elcodi\Admin\MediaBundle\Controller\Component\ImageComponentController::listComponentAction PHP Метод

listComponentAction() публичный Метод

As a component, this action should not return all the html macro, but only the specific component
public listComponentAction ( ) : array
Результат array Result
    public function listComponentAction()
    {
        $images = $this->get('elcodi.repository.image')->findAll();
        return ['images' => $images];
    }
ImageComponentController