private function createConfigurationDefinition()
    {
        $id = $this->getServiceId('configuration');
        if (!$this->container->has($id)) {
            $definition = new Definition(self::CONFIGURATION);
            $definition
                ->setFactory([new Reference('ekyna_admin.pool_factory'), 'createConfiguration'])
//                ->setFactoryService('ekyna_admin.pool_factory')
//                ->setFactoryMethod('createConfiguration')
                ->setArguments([
                    $this->prefix,
                    $this->resourceName,
                    $this->options['entity'],
                    $this->buildTemplateList($this->options['templates']),
                    $this->options['event'],
                    $this->options['parent']
                ])
                ->addTag('ekyna_admin.configuration', [
                    'alias' => sprintf('%s_%s', $this->prefix, $this->resourceName)]
                )
            ;
            $this->container->setDefinition($id, $definition);
        }
    }
private function createConfigurationDefinition()
    {
        $id = $this->getServiceId('configuration');
        if (!$this->container->has($id)) {
            $definition = new Definition(self::CONFIGURATION);
            $definition
                ->setFactory([new Reference('ekyna_admin.pool_factory'), 'createConfiguration'])
//                ->setFactoryService('ekyna_admin.pool_factory')
//                ->setFactoryMethod('createConfiguration')
                ->setArguments([
                    $this->prefix,
                    $this->resourceName,
                    $this->options['entity'],
                    $this->buildTemplateList($this->options['templates']),
                    $this->options['event'],
                    $this->options['parent']
                ])
                ->addTag('ekyna_admin.configuration', [
                    'alias' => sprintf('%s_%s', $this->prefix, $this->resourceName)]
                )
            ;
            $this->container->setDefinition($id, $definition);
        }
    }
private function createConfigurationDefinition ( ) { $ id = $ this -> getServiceId ( 'configuration' ) ; if ( ! $ this -> container -> has ( $ id ) ) { $ definition = new Definition ( self :: CONFIGURATION ) ; $ definition -> setFactory ( [ new Reference ( 'ekyna_admin.pool_factory' ) , 'createConfiguration' ] ) //                ->setFactoryService('ekyna_admin.pool_factory') //                ->setFactoryMethod('createConfiguration') -> setArguments ( [ $ this -> prefix , $ this -> resourceName , $ this -> options [ 'entity' ] , $ this -> buildTemplateList ( $ this -> options [ 'templates' ] ) , $ this -> options [ 'event' ] , $ this -> options [ 'parent' ] ] ) -> addTag ( 'ekyna_admin.configuration' , [ 'alias' => sprintf ( '%s_%s' , $ this -> prefix , $ this -> resourceName ) ] ) ; $ this -> container -> setDefinition ( $ id , $ definition ) ; } }
Creates the Configuration service definition.
Creates the Configuration service definition .