Removed new style array syntax
parent
41937ef781
commit
48287b5a1c
|
@ -118,12 +118,12 @@ If multiple methods should be called, then an array of tupples can be attached t
|
||||||
```php
|
```php
|
||||||
public static function getSubscribedEvents()
|
public static function getSubscribedEvents()
|
||||||
{
|
{
|
||||||
return [
|
return array(
|
||||||
'post-autoload-dump' => array(
|
'post-autoload-dump' => array(
|
||||||
array('methodToBeCalled' ), // Priority defaults to 0
|
array('methodToBeCalled' ), // Priority defaults to 0
|
||||||
array('someOtherMethodName', 1), // This fires first
|
array('someOtherMethodName', 1), // This fires first
|
||||||
)
|
)
|
||||||
];
|
);
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue