Hi All,
After upgrading executing php composer.php update, my project stopped
working. It took a long time to me to find the problem, but I finally
detected that there was something regarding the ServiceManager.
There is a module called Acl in my project. In its Module.php file there is
a service configuration that creates an instance of \Acl\Service\Privilege
that depends on \Doctrine\ORM\EntityManager. This service is defined into
getServiceConfig() method of Module.php:
namespace Acl;
use Zend\Mvc\ModuleRouteListener,
Zend\Mvc\MvcEvent;
class Module
{
...
public function getServiceConfig()
{
return array(
'factories' => array(
...
'Acl\Service\Privilege' => function($sm) {
return new
Service\Privilege($sm->get('Doctrine\ORM\EntityManager'));
},
)
);
}
}
In the indexAction() method of my AuthController I instantiate the
Acl\Service\Privilege through ServiceLocator:
class AuthController extends AbstractActionController {
public function indexAction() {
...
$privilegeService =
$this->getServiceLocator()->get('Acl\Service\Privilege);
...
}
....
}
At this point an exception is thrown
object(stdClass)#369 (5) {
["__CLASS__"]=> string(56)
"Zend\ServiceManager\Exception\ServiceNotCreatedException" ["message"]=>
string(89) "An exception was raised while creating
"Doctrine\ORM\EntityManager"; no instance returned" ["code"]=> int(0)
["file"]=> string(109)
"/my_project_path/vendor/zendframework/zendframework/library/Zend/ServiceManager/ServiceManager.php"
["line"]=> int(909)}
Attached to this post is the result of \Doctrine\Common\Util\Debug::dump($sm)
placed at the beginning of Acl\Service\Privilege function at getServiceConfig.
The modules loading sequence at application.config.php file is as follows:
return array(
// This should be an array of module namespaces used in the application.
'modules' => array(
//'ZendDeveloperTools',
'DoctrineModule',
'DoctrineORMModule',
'SlmLocale',
//'DluTwBootstrap',
'Acra',
'MOBBase',
'Acl',
'User',
'System',
'Api',
'Relatorio',
'Application',
),
...
Did anyone already face this error message and knows how to solve this problem?
Thanks in advance
Diogo
--
You received this message because you are subscribed to the Google Groups
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.
object(stdClass)#369 (19) {
["__CLASS__"]=>
string(34) "Zend\ServiceManager\ServiceManager"
["canonicalNames"]=>
array(175) {
["SharedEventManager"]=>
string(18) "sharedeventmanager"
["EventManager"]=>
string(12) "eventmanager"
["ModuleManager"]=>
string(13) "modulemanager"
["Zend\EventManager\EventManagerInterface"]=>
string(37) "zendeventmanagereventmanagerinterface"
["ServiceManager"]=>
string(14) "servicemanager"
["servicemanager"]=>
string(14) "servicemanager"
["Zend\ServiceManager\ServiceLocatorInterface"]=>
string(41) "zendservicemanagerservicelocatorinterface"
["Zend\ServiceManager\ServiceManager"]=>
string(32) "zendservicemanagerservicemanager"
["ApplicationConfig"]=>
string(17) "applicationconfig"
["applicationconfig"]=>
string(17) "applicationconfig"
["modulemanager"]=>
string(13) "modulemanager"
["ServiceListener"]=>
string(15) "servicelistener"
["servicelistener"]=>
string(15) "servicelistener"
["ServiceListenerInterface"]=>
string(24) "servicelistenerinterface"
["eventmanager"]=>
string(12) "eventmanager"
["sharedeventmanager"]=>
string(18) "sharedeventmanager"
["Application"]=>
string(11) "application"
["Config"]=>
string(6) "config"
["ControllerLoader"]=>
string(16) "controllerloader"
["ControllerPluginManager"]=>
string(23) "controllerpluginmanager"
["ConsoleAdapter"]=>
string(14) "consoleadapter"
["ConsoleRouter"]=>
string(13) "consolerouter"
["ConsoleViewManager"]=>
string(18) "consoleviewmanager"
["DependencyInjector"]=>
string(18) "dependencyinjector"
["DiAbstractServiceFactory"]=>
string(24) "diabstractservicefactory"
["DiServiceInitializer"]=>
string(20) "diserviceinitializer"
["DiStrictAbstractServiceFactory"]=>
string(30) "districtabstractservicefactory"
["FilterManager"]=>
string(13) "filtermanager"
["FormElementManager"]=>
string(18) "formelementmanager"
["HttpRouter"]=>
string(10) "httprouter"
["HttpViewManager"]=>
string(15) "httpviewmanager"
["HydratorManager"]=>
string(15) "hydratormanager"
["InputFilterManager"]=>
string(18) "inputfiltermanager"
["LogProcessorManager"]=>
string(19) "logprocessormanager"
["LogWriterManager"]=>
string(16) "logwritermanager"
["MvcTranslator"]=>
string(13) "mvctranslator"
["PaginatorPluginManager"]=>
string(22) "paginatorpluginmanager"
["Request"]=>
string(7) "request"
["Response"]=>
string(8) "response"
["Router"]=>
string(6) "router"
["RoutePluginManager"]=>
string(18) "routepluginmanager"
["SerializerAdapterManager"]=>
string(24) "serializeradaptermanager"
["ValidatorManager"]=>
string(16) "validatormanager"
["ViewHelperManager"]=>
string(17) "viewhelpermanager"
["ViewFeedRenderer"]=>
string(16) "viewfeedrenderer"
["ViewFeedStrategy"]=>
string(16) "viewfeedstrategy"
["ViewJsonRenderer"]=>
string(16) "viewjsonrenderer"
["ViewJsonStrategy"]=>
string(16) "viewjsonstrategy"
["ViewManager"]=>
string(11) "viewmanager"
["ViewResolver"]=>
string(12) "viewresolver"
["ViewTemplateMapResolver"]=>
string(23) "viewtemplatemapresolver"
["ViewTemplatePathStack"]=>
string(21) "viewtemplatepathstack"
["dlu_twb_view_helper_configurator"]=>
string(28) "dlutwbviewhelperconfigurator"
["Acl\Form\Role"]=>
string(11) "aclformrole"
["Acl\Form\Privilege"]=>
string(16) "aclformprivilege"
["Acl\Form\RolePrivileges"]=>
string(21) "aclformroleprivileges"
["Acl\Service\Role"]=>
string(14) "aclservicerole"
["Acl\Service\Resource"]=>
string(18) "aclserviceresource"
["Acl\Service\Privilege"]=>
string(19) "aclserviceprivilege"
["Acl\Permissions\Acl"]=>
string(17) "aclpermissionsacl"
["User\Session\Auth"]=>
string(15) "usersessionauth"
["User\Mail\Transport"]=>
string(17) "usermailtransport"
["User\Service\User"]=>
string(15) "userserviceuser"
["User\Form\User"]=>
string(12) "userformuser"
["User\Auth\Adapter"]=>
string(15) "userauthadapter"
["User\Service\Group"]=>
string(16) "userservicegroup"
["User\Form\Group"]=>
string(13) "userformgroup"
["User\Form\UserRoles"]=>
string(17) "userformuserroles"
["System\Service\TableUpdate"]=>
string(24) "systemservicetableupdate"
["Api\Session\Auth"]=>
string(14) "apisessionauth"
["Relatorio\Service\UnidadeFamiliarMes"]=>
string(34) "relatorioserviceunidadefamiliarmes"
["doctrine.cli"]=>
string(12) "doctrine.cli"
["Doctrine\ORM\EntityManager"]=>
string(24) "doctrineormentitymanager"
["SlmLocale\Locale\Detector"]=>
string(23) "slmlocalelocaledetector"
["translator"]=>
string(10) "translator"
["DispatchListener"]=>
string(16) "dispatchlistener"
["RouteListener"]=>
string(13) "routelistener"
["SendResponseListener"]=>
string(20) "sendresponselistener"
["DoctrineModule\Authentication\Storage\Session"]=>
string(42) "doctrinemoduleauthenticationstoragesession"
["doctrine.dbal_cmd.runsql"]=>
string(23) "doctrine.dbalcmd.runsql"
["doctrine.dbal_cmd.import"]=>
string(23) "doctrine.dbalcmd.import"
["doctrine.orm_cmd.clear_cache_metadata"]=>
string(34) "doctrine.ormcmd.clearcachemetadata"
["doctrine.orm_cmd.clear_cache_result"]=>
string(32) "doctrine.ormcmd.clearcacheresult"
["doctrine.orm_cmd.clear_cache_query"]=>
string(31) "doctrine.ormcmd.clearcachequery"
["doctrine.orm_cmd.schema_tool_create"]=>
string(32) "doctrine.ormcmd.schematoolcreate"
["doctrine.orm_cmd.schema_tool_update"]=>
string(32) "doctrine.ormcmd.schematoolupdate"
["doctrine.orm_cmd.schema_tool_drop"]=>
string(30) "doctrine.ormcmd.schematooldrop"
["doctrine.orm_cmd.convert_d1_schema"]=>
string(31) "doctrine.ormcmd.convertd1schema"
["doctrine.orm_cmd.generate_entities"]=>
string(32) "doctrine.ormcmd.generateentities"
["doctrine.orm_cmd.generate_proxies"]=>
string(31) "doctrine.ormcmd.generateproxies"
["doctrine.orm_cmd.convert_mapping"]=>
string(30) "doctrine.ormcmd.convertmapping"
["doctrine.orm_cmd.run_dql"]=>
string(22) "doctrine.ormcmd.rundql"
["doctrine.orm_cmd.validate_schema"]=>
string(30) "doctrine.ormcmd.validateschema"
["doctrine.orm_cmd.info"]=>
string(20) "doctrine.ormcmd.info"
["doctrine.orm_cmd.ensure_production_settings"]=>
string(40) "doctrine.ormcmd.ensureproductionsettings"
["doctrine.orm_cmd.generate_repositories"]=>
string(36) "doctrine.ormcmd.generaterepositories"
["SlmLocale\Strategy\StrategyPluginManager"]=>
string(38) "slmlocalestrategystrategypluginmanager"
["Configuration"]=>
string(13) "configuration"
["Console"]=>
string(7) "console"
["Di"]=>
string(2) "di"
["Zend\Di\LocatorInterface"]=>
string(22) "zenddilocatorinterface"
["Zend\Mvc\Controller\PluginManager"]=>
string(30) "zendmvccontrollerpluginmanager"
["Zend\View\Resolver\TemplateMapResolver"]=>
string(35) "zendviewresolvertemplatemapresolver"
["Zend\View\Resolver\TemplatePathStack"]=>
string(33) "zendviewresolvertemplatepathstack"
["Zend\View\Resolver\AggregateResolver"]=>
string(33) "zendviewresolveraggregateresolver"
["Zend\View\Resolver\ResolverInterface"]=>
string(33) "zendviewresolverresolverinterface"
["ControllerManager"]=>
string(17) "controllermanager"
["controllerloader"]=>
string(16) "controllerloader"
["config"]=>
string(6) "config"
["controllerpluginmanager"]=>
string(23) "controllerpluginmanager"
["diabstractservicefactory"]=>
string(24) "diabstractservicefactory"
["di"]=>
string(2) "di"
["dependencyinjector"]=>
string(18) "dependencyinjector"
["viewhelpermanager"]=>
string(17) "viewhelpermanager"
["validatormanager"]=>
string(16) "validatormanager"
["filtermanager"]=>
string(13) "filtermanager"
["formelementmanager"]=>
string(18) "formelementmanager"
["routepluginmanager"]=>
string(18) "routepluginmanager"
["serializeradaptermanager"]=>
string(24) "serializeradaptermanager"
["hydratormanager"]=>
string(15) "hydratormanager"
["inputfiltermanager"]=>
string(18) "inputfiltermanager"
["logprocessormanager"]=>
string(19) "logprocessormanager"
["logwritermanager"]=>
string(16) "logwritermanager"
["application"]=>
string(11) "application"
["request"]=>
string(7) "request"
["response"]=>
string(8) "response"
["routelistener"]=>
string(13) "routelistener"
["dispatchlistener"]=>
string(16) "dispatchlistener"
["viewmanager"]=>
string(11) "viewmanager"
["httpviewmanager"]=>
string(15) "httpviewmanager"
["sendresponselistener"]=>
string(20) "sendresponselistener"
["router"]=>
string(6) "router"
["RouteNotFoundStrategy"]=>
string(21) "routenotfoundstrategy"
["routenotfoundstrategy"]=>
string(21) "routenotfoundstrategy"
["Zend\Mvc\View\RouteNotFoundStrategy"]=>
string(32) "zendmvcviewroutenotfoundstrategy"
["Zend\Mvc\View\Http\RouteNotFoundStrategy"]=>
string(36) "zendmvcviewhttproutenotfoundstrategy"
["404Strategy"]=>
string(11) "404strategy"
["ExceptionStrategy"]=>
string(17) "exceptionstrategy"
["exceptionstrategy"]=>
string(17) "exceptionstrategy"
["Zend\Mvc\View\ExceptionStrategy"]=>
string(28) "zendmvcviewexceptionstrategy"
["Zend\Mvc\View\Http\ExceptionStrategy"]=>
string(32) "zendmvcviewhttpexceptionstrategy"
["viewresolver"]=>
string(12) "viewresolver"
["viewtemplatemapresolver"]=>
string(23) "viewtemplatemapresolver"
["viewtemplatepathstack"]=>
string(21) "viewtemplatepathstack"
["ViewRenderer"]=>
string(12) "viewrenderer"
["viewrenderer"]=>
string(12) "viewrenderer"
["Zend\View\Renderer\PhpRenderer"]=>
string(27) "zendviewrendererphprenderer"
["Zend\View\Renderer\RendererInterface"]=>
string(33) "zendviewrendererrendererinterface"
["ViewPhpRendererStrategy"]=>
string(23) "viewphprendererstrategy"
["viewphprendererstrategy"]=>
string(23) "viewphprendererstrategy"
["Zend\View\Strategy\PhpRendererStrategy"]=>
string(35) "zendviewstrategyphprendererstrategy"
["View"]=>
string(4) "view"
["view"]=>
string(4) "view"
["Zend\View\View"]=>
string(12) "zendviewview"
["DefaultRenderingStrategy"]=>
string(24) "defaultrenderingstrategy"
["defaultrenderingstrategy"]=>
string(24) "defaultrenderingstrategy"
["Zend\Mvc\View\DefaultRenderingStrategy"]=>
string(35) "zendmvcviewdefaultrenderingstrategy"
["Zend\Mvc\View\Http\DefaultRenderingStrategy"]=>
string(39) "zendmvcviewhttpdefaultrenderingstrategy"
["Zend\ModuleManager\ModuleManager"]=>
string(30) "zendmodulemanagermodulemanager"
["slmlocalelocaledetector"]=>
string(23) "slmlocalelocaledetector"
["slmlocalestrategystrategypluginmanager"]=>
string(38) "slmlocalestrategystrategypluginmanager"
["Api\Http\Restful"]=>
string(14) "apihttprestful"
["apihttprestful"]=>
string(14) "apihttprestful"
["controllermanager"]=>
string(17) "controllermanager"
["zendservicemanagerservicelocatorinterface"]=>
string(41) "zendservicemanagerservicelocatorinterface"
["usersessionauth"]=>
string(15) "usersessionauth"
["aclserviceprivilege"]=>
string(19) "aclserviceprivilege"
["doctrineormentitymanager"]=>
string(24) "doctrineormentitymanager"
["doctrine.entitymanager.orm_default"]=>
string(33) "doctrine.entitymanager.ormdefault"
["doctrine.entitymanager.ormdefault"]=>
string(33) "doctrine.entitymanager.ormdefault"
["configuration"]=>
string(13) "configuration"
["doctrine.connection.orm_default"]=>
string(30) "doctrine.connection.ormdefault"
["doctrine.connection.ormdefault"]=>
string(30) "doctrine.connection.ormdefault"
["doctrine.configuration.orm_default"]=>
string(33) "doctrine.configuration.ormdefault"
["doctrine.configuration.ormdefault"]=>
string(33) "doctrine.configuration.ormdefault"
}
["allowOverride"]=>
bool(false)
["invokableClasses"]=>
array(23) {
["sharedeventmanager"]=>
string(36) "Zend\EventManager\SharedEventManager"
["dispatchlistener"]=>
string(25) "Zend\Mvc\DispatchListener"
["routelistener"]=>
string(22) "Zend\Mvc\RouteListener"
["sendresponselistener"]=>
string(29) "Zend\Mvc\SendResponseListener"
["doctrinemoduleauthenticationstoragesession"]=>
string(35) "Zend\Authentication\Storage\Session"
["doctrine.dbalcmd.runsql"]=>
string(50) "\Doctrine\DBAL\Tools\Console\Command\RunSqlCommand"
["doctrine.dbalcmd.import"]=>
string(50) "\Doctrine\DBAL\Tools\Console\Command\ImportCommand"
["doctrine.ormcmd.clearcachemetadata"]=>
string(62) "\Doctrine\ORM\Tools\Console\Command\ClearCache\MetadataCommand"
["doctrine.ormcmd.clearcacheresult"]=>
string(60) "\Doctrine\ORM\Tools\Console\Command\ClearCache\ResultCommand"
["doctrine.ormcmd.clearcachequery"]=>
string(59) "\Doctrine\ORM\Tools\Console\Command\ClearCache\QueryCommand"
["doctrine.ormcmd.schematoolcreate"]=>
string(60) "\Doctrine\ORM\Tools\Console\Command\SchemaTool\CreateCommand"
["doctrine.ormcmd.schematoolupdate"]=>
string(60) "\Doctrine\ORM\Tools\Console\Command\SchemaTool\UpdateCommand"
["doctrine.ormcmd.schematooldrop"]=>
string(58) "\Doctrine\ORM\Tools\Console\Command\SchemaTool\DropCommand"
["doctrine.ormcmd.convertd1schema"]=>
string(65)
"\Doctrine\ORM\Tools\Console\Command\ConvertDoctrine1SchemaCommand"
["doctrine.ormcmd.generateentities"]=>
string(59) "\Doctrine\ORM\Tools\Console\Command\GenerateEntitiesCommand"
["doctrine.ormcmd.generateproxies"]=>
string(58) "\Doctrine\ORM\Tools\Console\Command\GenerateProxiesCommand"
["doctrine.ormcmd.convertmapping"]=>
string(57) "\Doctrine\ORM\Tools\Console\Command\ConvertMappingCommand"
["doctrine.ormcmd.rundql"]=>
string(49) "\Doctrine\ORM\Tools\Console\Command\RunDqlCommand"
["doctrine.ormcmd.validateschema"]=>
string(57) "\Doctrine\ORM\Tools\Console\Command\ValidateSchemaCommand"
["doctrine.ormcmd.info"]=>
string(47) "\Doctrine\ORM\Tools\Console\Command\InfoCommand"
["doctrine.ormcmd.ensureproductionsettings"]=>
string(67)
"\Doctrine\ORM\Tools\Console\Command\EnsureProductionSettingsCommand"
["doctrine.ormcmd.generaterepositories"]=>
string(63) "\Doctrine\ORM\Tools\Console\Command\GenerateRepositoriesCommand"
["slmlocalestrategystrategypluginmanager"]=>
string(40) "SlmLocale\Strategy\StrategyPluginManager"
}
["factories"]=>
array(62) {
["eventmanager"]=>
string(36) "Zend\Mvc\Service\EventManagerFactory"
["modulemanager"]=>
string(37) "Zend\Mvc\Service\ModuleManagerFactory"
["servicelistener"]=>
string(39) "Zend\Mvc\Service\ServiceListenerFactory"
["application"]=>
string(35) "Zend\Mvc\Service\ApplicationFactory"
["config"]=>
string(30) "Zend\Mvc\Service\ConfigFactory"
["controllerloader"]=>
string(40) "Zend\Mvc\Service\ControllerLoaderFactory"
["controllerpluginmanager"]=>
string(47) "Zend\Mvc\Service\ControllerPluginManagerFactory"
["consoleadapter"]=>
string(38) "Zend\Mvc\Service\ConsoleAdapterFactory"
["consolerouter"]=>
string(30) "Zend\Mvc\Service\RouterFactory"
["consoleviewmanager"]=>
string(42) "Zend\Mvc\Service\ConsoleViewManagerFactory"
["dependencyinjector"]=>
string(26) "Zend\Mvc\Service\DiFactory"
["diabstractservicefactory"]=>
string(48) "Zend\Mvc\Service\DiAbstractServiceFactoryFactory"
["diserviceinitializer"]=>
string(44) "Zend\Mvc\Service\DiServiceInitializerFactory"
["districtabstractservicefactory"]=>
string(54) "Zend\Mvc\Service\DiStrictAbstractServiceFactoryFactory"
["filtermanager"]=>
string(37) "Zend\Mvc\Service\FilterManagerFactory"
["formelementmanager"]=>
string(42) "Zend\Mvc\Service\FormElementManagerFactory"
["httprouter"]=>
string(30) "Zend\Mvc\Service\RouterFactory"
["httpviewmanager"]=>
string(39) "Zend\Mvc\Service\HttpViewManagerFactory"
["hydratormanager"]=>
string(39) "Zend\Mvc\Service\HydratorManagerFactory"
["inputfiltermanager"]=>
string(42) "Zend\Mvc\Service\InputFilterManagerFactory"
["logprocessormanager"]=>
string(43) "Zend\Mvc\Service\LogProcessorManagerFactory"
["logwritermanager"]=>
string(40) "Zend\Mvc\Service\LogWriterManagerFactory"
["mvctranslator"]=>
string(41) "Zend\Mvc\Service\TranslatorServiceFactory"
["paginatorpluginmanager"]=>
string(46) "Zend\Mvc\Service\PaginatorPluginManagerFactory"
["request"]=>
string(31) "Zend\Mvc\Service\RequestFactory"
["response"]=>
string(32) "Zend\Mvc\Service\ResponseFactory"
["router"]=>
string(30) "Zend\Mvc\Service\RouterFactory"
["routepluginmanager"]=>
string(42) "Zend\Mvc\Service\RoutePluginManagerFactory"
["serializeradaptermanager"]=>
string(54) "Zend\Mvc\Service\SerializerAdapterPluginManagerFactory"
["validatormanager"]=>
string(40) "Zend\Mvc\Service\ValidatorManagerFactory"
["viewhelpermanager"]=>
string(41) "Zend\Mvc\Service\ViewHelperManagerFactory"
["viewfeedrenderer"]=>
string(40) "Zend\Mvc\Service\ViewFeedRendererFactory"
["viewfeedstrategy"]=>
string(40) "Zend\Mvc\Service\ViewFeedStrategyFactory"
["viewjsonrenderer"]=>
string(40) "Zend\Mvc\Service\ViewJsonRendererFactory"
["viewjsonstrategy"]=>
string(40) "Zend\Mvc\Service\ViewJsonStrategyFactory"
["viewmanager"]=>
string(35) "Zend\Mvc\Service\ViewManagerFactory"
["viewresolver"]=>
string(36) "Zend\Mvc\Service\ViewResolverFactory"
["viewtemplatemapresolver"]=>
string(47) "Zend\Mvc\Service\ViewTemplateMapResolverFactory"
["viewtemplatepathstack"]=>
string(45) "Zend\Mvc\Service\ViewTemplatePathStackFactory"
["dlutwbviewhelperconfigurator"]=>
string(7) "Closure"
["aclformrole"]=>
string(7) "Closure"
["aclformprivilege"]=>
string(7) "Closure"
["aclformroleprivileges"]=>
string(7) "Closure"
["aclservicerole"]=>
string(7) "Closure"
["aclserviceresource"]=>
string(7) "Closure"
["aclserviceprivilege"]=>
string(7) "Closure"
["aclpermissionsacl"]=>
string(7) "Closure"
["usersessionauth"]=>
string(7) "Closure"
["usermailtransport"]=>
string(7) "Closure"
["userserviceuser"]=>
string(7) "Closure"
["userformuser"]=>
string(7) "Closure"
["userauthadapter"]=>
string(7) "Closure"
["userservicegroup"]=>
string(7) "Closure"
["userformgroup"]=>
string(7) "Closure"
["userformuserroles"]=>
string(7) "Closure"
["systemservicetableupdate"]=>
string(7) "Closure"
["apisessionauth"]=>
string(7) "Closure"
["relatorioserviceunidadefamiliarmes"]=>
string(7) "Closure"
["doctrine.cli"]=>
string(33) "DoctrineModule\Service\CliFactory"
["doctrineormentitymanager"]=>
string(57) "DoctrineORMModule\Service\EntityManagerAliasCompatFactory"
["slmlocalelocaledetector"]=>
string(33) "SlmLocale\Service\DetectorFactory"
["translator"]=>
string(45) "Zend\I18n\Translator\TranslatorServiceFactory"
}
["abstractFactories"]=>
array(3) {
[0]=>
string(60) "DoctrineModule\ServiceFactory\AbstractDoctrineServiceFactory"
[1]=>
string(36) "Zend\Form\FormAbstractServiceFactory"
[2]=>
string(47) "Zend\ServiceManager\Di\DiAbstractServiceFactory"
}
["delegators"]=>
array(0) {
}
["pendingAbstractFactoryRequests"]=>
array(0) {
}
["nestedContextCounter"]=>
int(-1)
["nestedContext"]=>
array(0) {
}
["shared"]=>
array(85) {
["sharedeventmanager"]=>
bool(true)
["eventmanager"]=>
bool(false)
["modulemanager"]=>
bool(true)
["servicelistener"]=>
bool(true)
["application"]=>
bool(true)
["config"]=>
bool(true)
["controllerloader"]=>
bool(true)
["controllerpluginmanager"]=>
bool(true)
["consoleadapter"]=>
bool(true)
["consolerouter"]=>
bool(true)
["consoleviewmanager"]=>
bool(true)
["dependencyinjector"]=>
bool(true)
["diabstractservicefactory"]=>
bool(true)
["diserviceinitializer"]=>
bool(true)
["districtabstractservicefactory"]=>
bool(true)
["filtermanager"]=>
bool(true)
["formelementmanager"]=>
bool(true)
["httprouter"]=>
bool(true)
["httpviewmanager"]=>
bool(true)
["hydratormanager"]=>
bool(true)
["inputfiltermanager"]=>
bool(true)
["logprocessormanager"]=>
bool(true)
["logwritermanager"]=>
bool(true)
["mvctranslator"]=>
bool(true)
["paginatorpluginmanager"]=>
bool(true)
["request"]=>
bool(true)
["response"]=>
bool(true)
["router"]=>
bool(true)
["routepluginmanager"]=>
bool(true)
["serializeradaptermanager"]=>
bool(true)
["validatormanager"]=>
bool(true)
["viewhelpermanager"]=>
bool(true)
["viewfeedrenderer"]=>
bool(true)
["viewfeedstrategy"]=>
bool(true)
["viewjsonrenderer"]=>
bool(true)
["viewjsonstrategy"]=>
bool(true)
["viewmanager"]=>
bool(true)
["viewresolver"]=>
bool(true)
["viewtemplatemapresolver"]=>
bool(true)
["viewtemplatepathstack"]=>
bool(true)
["dlutwbviewhelperconfigurator"]=>
bool(true)
["aclformrole"]=>
bool(true)
["aclformprivilege"]=>
bool(true)
["aclformroleprivileges"]=>
bool(true)
["aclservicerole"]=>
bool(true)
["aclserviceresource"]=>
bool(true)
["aclserviceprivilege"]=>
bool(true)
["aclpermissionsacl"]=>
bool(true)
["usersessionauth"]=>
bool(true)
["usermailtransport"]=>
bool(true)
["userserviceuser"]=>
bool(true)
["userformuser"]=>
bool(true)
["userauthadapter"]=>
bool(true)
["userservicegroup"]=>
bool(true)
["userformgroup"]=>
bool(true)
["userformuserroles"]=>
bool(true)
["systemservicetableupdate"]=>
bool(true)
["apisessionauth"]=>
bool(true)
["relatorioserviceunidadefamiliarmes"]=>
bool(true)
["doctrine.cli"]=>
bool(true)
["doctrineormentitymanager"]=>
bool(true)
["slmlocalelocaledetector"]=>
bool(true)
["translator"]=>
bool(true)
["dispatchlistener"]=>
bool(true)
["routelistener"]=>
bool(true)
["sendresponselistener"]=>
bool(true)
["doctrinemoduleauthenticationstoragesession"]=>
bool(true)
["doctrine.dbalcmd.runsql"]=>
bool(true)
["doctrine.dbalcmd.import"]=>
bool(true)
["doctrine.ormcmd.clearcachemetadata"]=>
bool(true)
["doctrine.ormcmd.clearcacheresult"]=>
bool(true)
["doctrine.ormcmd.clearcachequery"]=>
bool(true)
["doctrine.ormcmd.schematoolcreate"]=>
bool(true)
["doctrine.ormcmd.schematoolupdate"]=>
bool(true)
["doctrine.ormcmd.schematooldrop"]=>
bool(true)
["doctrine.ormcmd.convertd1schema"]=>
bool(true)
["doctrine.ormcmd.generateentities"]=>
bool(true)
["doctrine.ormcmd.generateproxies"]=>
bool(true)
["doctrine.ormcmd.convertmapping"]=>
bool(true)
["doctrine.ormcmd.rundql"]=>
bool(true)
["doctrine.ormcmd.validateschema"]=>
bool(true)
["doctrine.ormcmd.info"]=>
bool(true)
["doctrine.ormcmd.ensureproductionsettings"]=>
bool(true)
["doctrine.ormcmd.generaterepositories"]=>
bool(true)
["slmlocalestrategystrategypluginmanager"]=>
bool(true)
}
["instances"]=>
array(42) {
["servicemanager"]=>
string(34) "Zend\ServiceManager\ServiceManager"
["applicationconfig"]=>
string(8) "Array(2)"
["servicelistener"]=>
string(43) "Zend\ModuleManager\Listener\ServiceListener"
["sharedeventmanager"]=>
string(36) "Zend\EventManager\SharedEventManager"
["modulemanager"]=>
string(32) "Zend\ModuleManager\ModuleManager"
["config"]=>
string(9) "Array(20)"
["controllerloader"]=>
string(37) "Zend\Mvc\Controller\ControllerManager"
["dependencyinjector"]=>
string(10) "Zend\Di\Di"
["diabstractservicefactory"]=>
string(47) "Zend\ServiceManager\Di\DiAbstractServiceFactory"
["controllerpluginmanager"]=>
string(33) "Zend\Mvc\Controller\PluginManager"
["viewhelpermanager"]=>
string(29) "Zend\View\HelperPluginManager"
["validatormanager"]=>
string(37) "Zend\Validator\ValidatorPluginManager"
["filtermanager"]=>
string(31) "Zend\Filter\FilterPluginManager"
["formelementmanager"]=>
string(28) "Zend\Form\FormElementManager"
["routepluginmanager"]=>
string(34) "Zend\Mvc\Router\RoutePluginManager"
["serializeradaptermanager"]=>
string(36) "Zend\Serializer\AdapterPluginManager"
["hydratormanager"]=>
string(42) "Zend\Stdlib\Hydrator\HydratorPluginManager"
["inputfiltermanager"]=>
string(41) "Zend\InputFilter\InputFilterPluginManager"
["logprocessormanager"]=>
string(31) "Zend\Log\ProcessorPluginManager"
["logwritermanager"]=>
string(28) "Zend\Log\WriterPluginManager"
["request"]=>
string(32) "Zend\Http\PhpEnvironment\Request"
["response"]=>
string(33) "Zend\Http\PhpEnvironment\Response"
["application"]=>
string(20) "Zend\Mvc\Application"
["routelistener"]=>
string(22) "Zend\Mvc\RouteListener"
["dispatchlistener"]=>
string(25) "Zend\Mvc\DispatchListener"
["httpviewmanager"]=>
string(30) "Zend\Mvc\View\Http\ViewManager"
["viewmanager"]=>
string(30) "Zend\Mvc\View\Http\ViewManager"
["sendresponselistener"]=>
string(29) "Zend\Mvc\SendResponseListener"
["router"]=>
string(35) "Zend\Mvc\Router\Http\TreeRouteStack"
["routenotfoundstrategy"]=>
string(40) "Zend\Mvc\View\Http\RouteNotFoundStrategy"
["exceptionstrategy"]=>
string(36) "Zend\Mvc\View\Http\ExceptionStrategy"
["viewtemplatemapresolver"]=>
string(38) "Zend\View\Resolver\TemplateMapResolver"
["viewtemplatepathstack"]=>
string(36) "Zend\View\Resolver\TemplatePathStack"
["viewresolver"]=>
string(36) "Zend\View\Resolver\AggregateResolver"
["viewrenderer"]=>
string(30) "Zend\View\Renderer\PhpRenderer"
["viewphprendererstrategy"]=>
string(38) "Zend\View\Strategy\PhpRendererStrategy"
["view"]=>
string(14) "Zend\View\View"
["defaultrenderingstrategy"]=>
string(43) "Zend\Mvc\View\Http\DefaultRenderingStrategy"
["slmlocalestrategystrategypluginmanager"]=>
string(40) "SlmLocale\Strategy\StrategyPluginManager"
["slmlocalelocaledetector"]=>
string(25) "SlmLocale\Locale\Detector"
["translator"]=>
string(31) "Zend\I18n\Translator\Translator"
["apihttprestful"]=>
string(16) "Api\Http\Restful"
}
["aliases"]=>
array(24) {
["zendeventmanagereventmanagerinterface"]=>
string(12) "eventmanager"
["zendservicemanagerservicelocatorinterface"]=>
string(14) "servicemanager"
["zendservicemanagerservicemanager"]=>
string(14) "servicemanager"
["configuration"]=>
string(6) "config"
["console"]=>
string(14) "consoleadapter"
["di"]=>
string(18) "dependencyinjector"
["zenddilocatorinterface"]=>
string(18) "dependencyinjector"
["zendmvccontrollerpluginmanager"]=>
string(23) "controllerpluginmanager"
["zendviewresolvertemplatemapresolver"]=>
string(23) "viewtemplatemapresolver"
["zendviewresolvertemplatepathstack"]=>
string(21) "viewtemplatepathstack"
["zendviewresolveraggregateresolver"]=>
string(12) "viewresolver"
["zendviewresolverresolverinterface"]=>
string(12) "viewresolver"
["controllermanager"]=>
string(16) "controllerloader"
["zendmvcviewroutenotfoundstrategy"]=>
string(21) "routenotfoundstrategy"
["zendmvcviewhttproutenotfoundstrategy"]=>
string(21) "routenotfoundstrategy"
["404strategy"]=>
string(21) "routenotfoundstrategy"
["zendmvcviewexceptionstrategy"]=>
string(17) "exceptionstrategy"
["zendmvcviewhttpexceptionstrategy"]=>
string(17) "exceptionstrategy"
["zendviewrendererphprenderer"]=>
string(12) "viewrenderer"
["zendviewrendererrendererinterface"]=>
string(12) "viewrenderer"
["zendviewstrategyphprendererstrategy"]=>
string(23) "viewphprendererstrategy"
["zendviewview"]=>
string(4) "view"
["zendmvcviewdefaultrenderingstrategy"]=>
string(24) "defaultrenderingstrategy"
["zendmvcviewhttpdefaultrenderingstrategy"]=>
string(24) "defaultrenderingstrategy"
}
["initializers"]=>
array(3) {
[0]=>
string(7) "Closure"
[1]=>
string(7) "Closure"
[2]=>
string(7) "Closure"
}
["peeringServiceManagers"]=>
array(0) {
}
["shareByDefault"]=>
bool(true)
["retrieveFromPeeringManagerFirst"]=>
bool(false)
["throwExceptionInCreate"]=>
bool(true)
["canonicalNamesReplacements"]=>
array(5) {
["-"]=>
string(0) ""
["_"]=>
string(0) ""
[" "]=>
string(0) ""
["\"]=>
string(0) ""
["/"]=>
string(0) ""
}
}
/var/www/plataforma_gta_web/module/Acl/Module.php:74