I know how to read parameters from config.yml
$par = $this->container->getParameter('locale');
My problem is how to read Easyadmin Bundle configuration. The structure is presented below.
easy_admin:
entities:
Ksiazka:
class: SklepBundle\Entity\Ksiazka
label: 'Ksiazka'
list:
title: "Most recent customers"
fields: ['id','autor','cena']
Kategoria:
class: SklepBundle\Entity\Kategoria
label: 'Kategoria'
list:
title: "Most recent categories"
I would like to read e.g. Ksiazka class in controller. How?
Thank you for help in advance