custom folder support. new service factory

This commit is contained in:
Yuri Kuznetsov
2014-01-27 18:02:55 +02:00
parent 2ac19d2eb9
commit 29178d4ca6
9 changed files with 168 additions and 79 deletions
+2 -2
View File
@@ -69,9 +69,9 @@ abstract class Base
return $this->container->get('serviceFactory');
}
protected function getService($className)
protected function getService($name)
{
return $this->getServiceFactory()->createByClassName($className);
return $this->getServiceFactory()->create($name);
}
}