protected function getConfigurationDirectory()
    {
        $reflector = new \ReflectionClass($this);
        $fileName = $reflector->getFileName();

        if (!is_dir($directory = dirname($fileName) . $this->configDirectory)) {
            throw new \RuntimeException(sprintf('The configuration directory "%s" does not exists.', $directory));
        }

        return $directory;
    }
protected function getConfigurationDirectory()
    {
        $reflector = new \ReflectionClass($this);
        $fileName = $reflector->getFileName();

        if (!is_dir($directory = dirname($fileName) . $this->configDirectory)) {
            throw new \RuntimeException(sprintf('The configuration directory "%s" does not exists.', $directory));
        }

        return $directory;
    }
protected function getConfigurationDirectory ( ) { $ reflector = new \ ReflectionClass ( $ this ) ; $ fileName = $ reflector -> getFileName ( ) ; if ( ! is_dir ( $ directory = dirname ( $ fileName ) . $ this -> configDirectory ) ) { throw new \ RuntimeException ( sprintf ( 'The configuration directory "%s" does not exists.' , $ directory ) ) ; } return $ directory ; }
Get the configuration directory

@return string
@throws \RuntimeException
Get the configuration directory