hook service factrory
This commit is contained in:
@@ -44,6 +44,7 @@ abstract class Base implements Injectable
|
||||
'metadata',
|
||||
'aclManager',
|
||||
'user',
|
||||
'serviceFactory',
|
||||
];
|
||||
|
||||
protected $dependencies = []; // for backward compatibility
|
||||
@@ -118,4 +119,9 @@ abstract class Base implements Injectable
|
||||
{
|
||||
return $this->getInjection('metadata');
|
||||
}
|
||||
|
||||
protected function getServiceFactory()
|
||||
{
|
||||
return $this->getInjection('serviceFactory');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user