public function listComponentAction() { $images = $this->get('elcodi.repository.image')->findAll(); return ['images' => $images]; }