| 1 | <?php |
||
| 11 | class BrowseEventSubscriber implements EventSubscriber |
||
| 12 | { |
||
| 13 | protected $router; |
||
| 14 | protected $userClass; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * Constructor. |
||
| 18 | * |
||
| 19 | * @param string $userClass %victoire_core.user_class% |
||
| 20 | */ |
||
| 21 | public function __construct($userClass) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * bind to LoadClassMetadata method. |
||
| 28 | * |
||
| 29 | * @return string[] The subscribed events |
||
| 30 | */ |
||
| 31 | public function getSubscribedEvents() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Insert enabled widgets in base widget DiscriminatorMap. |
||
| 40 | * |
||
| 41 | * @param LoadClassMetadataEventArgs $eventArgs |
||
| 42 | */ |
||
| 43 | public function loadClassMetadata(LoadClassMetadataEventArgs $eventArgs) |
||
| 63 | } |
||
| 64 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.