private function initialize(AbstractController $controller)
    {
        foreach ($this->initializers as $initializer) {
            if ($initializer instanceof InitializerInterface) {
                $initializer->initialize($controller, $this);
            } else {
                call_user_func($initializer, $controller, $this);
            }
        }
    }
private function initialize(AbstractController $controller)
    {
        foreach ($this->initializers as $initializer) {
            if ($initializer instanceof InitializerInterface) {
                $initializer->initialize($controller, $this);
            } else {
                call_user_func($initializer, $controller, $this);
            }
        }
    }
private function initialize ( AbstractController $ controller ) { foreach ( $ this -> initializers as $ initializer ) { if ( $ initializer instanceof InitializerInterface ) { $ initializer -> initialize ( $ controller , $ this ) ; } else { call_user_func ( $ initializer , $ controller , $ this ) ; } } }
injects Zend core services into the given controller

@param AbstractController $controller
injects Zend core services into the given controller