hook service factrory

This commit is contained in:
yuri
2019-07-29 12:50:04 +03:00
parent 18b64238ee
commit 4ab767e95b
+6
View File
@@ -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');
}
}