original_string: 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]));
      }
code: 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]));
      }
code_tokens: 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 ] ) ) ; }
docstring: Create a configuration of the module for further imports
  
  @param $path
  @return Config
  @throws AdapterNotFoundException
  @throws ConstantDirNotFoundException
  @throws ExtensionNotFoundException
docstring_tokens: Create a configuration of the module for further imports