src/ConfigLoader.php
protected function moduleConfigCreate($path)
    {
        $value = explode('::', $path);

        $ref = new ReflectionClass($value[0]);

        if ($ref->hasConstant('DIR') === false) {
            throw new ConstantDirNotFoundException(
                'Not found constant DIR in class ' . $value[0]
            );
        }

        return $this->create($value[0]::DIR . $ref->getConstant($value[1]));
    }
protected function moduleConfigCreate($path)
    {
        $value = explode('::', $path);

        $ref = new ReflectionClass($value[0]);

        if ($ref->hasConstant('DIR') === false) {
            throw new ConstantDirNotFoundException(
                'Not found constant DIR in class ' . $value[0]
            );
        }

        return $this->create($value[0]::DIR . $ref->getConstant($value[1]));
    }
protected function moduleConfigCreate ( $ path ) { $ value = explode ( '::' , $ path ) ; $ ref = new ReflectionClass ( $ value [ 0 ] ) ; if ( $ ref -> hasConstant ( 'DIR' ) === false ) { throw new ConstantDirNotFoundException ( 'Not found constant DIR in class ' . $ value [ 0 ] ) ; } return $ this -> create ( $ value [ 0 ] :: DIR . $ ref -> getConstant ( $ value [ 1 ] ) ) ; }
Create a configuration of the module for further imports

@param $path
@return Config
@throws AdapterNotFoundException
@throws ConstantDirNotFoundException
@throws ExtensionNotFoundException
Create a configuration of the module for further imports