src/Base/Configurator.php
private function initCustom(array $config)
    {
        throw new \LogicException('It\'s not working');
        //$this->connectionFactory =
        if (!class_exists($clientClass)) {
            throw new ConfiguratorException('The connection class "' . $clientClass . '" is not exists.');
        }
        if (!$clientClass instanceof IoAwareInterface) {
            if (!class_exists($clientClass)) {
                throw new ConfiguratorException('The class "' . $clientClass . '" is not a connection class.');
            }
        }
        $this->connectionType = self::CONNECTION_TYPE_CUSTOM;
        $this->clientClass = $clientClass;
    }
private function initCustom(array $config)
    {
        throw new \LogicException('It\'s not working');
        //$this->connectionFactory =
        if (!class_exists($clientClass)) {
            throw new ConfiguratorException('The connection class "' . $clientClass . '" is not exists.');
        }
        if (!$clientClass instanceof IoAwareInterface) {
            if (!class_exists($clientClass)) {
                throw new ConfiguratorException('The class "' . $clientClass . '" is not a connection class.');
            }
        }
        $this->connectionType = self::CONNECTION_TYPE_CUSTOM;
        $this->clientClass = $clientClass;
    }
private function initCustom ( array $ config ) { throw new \ LogicException ( 'It\'s not working' ) ; //$this->connectionFactory = if ( ! class_exists ( $ clientClass ) ) { throw new ConfiguratorException ( 'The connection class "' . $ clientClass . '" is not exists.' ) ; } if ( ! $ clientClass instanceof IoAwareInterface ) { if ( ! class_exists ( $ clientClass ) ) { throw new ConfiguratorException ( 'The class "' . $ clientClass . '" is not a connection class.' ) ; } } $ this -> connectionType = self :: CONNECTION_TYPE_CUSTOM ; $ this -> clientClass = $ clientClass ; }
@param array $config

@throws ConfiguratorException
@todo пока не работоспособно!
@param array $config