src/Generator.php
/**
     * Fetches specification for generator in JSON format
     *
     * @param $specFilePath
     * @return mixed
     * @throws Exception\InvalidSpecFileException
     */
Fetches specification for generator in JSON format
@param $specFilePath
@return mixed
@throws Exception\InvalidSpecFileException
Fetches specification for generator in JSON format @param $specFilePath @return mixed @throws Exception \ InvalidSpecFileException
protected function fetchDataSpec($specFilePath)
    {
        if (!file_exists($specFilePath)) {
            throw new InvalidSpecFileException();
        }
        $specFileContent = file_get_contents($specFilePath);
        $spec = json_decode($specFileContent, true);
        return $spec;
    }
protected function fetchDataSpec ( $ specFilePath ) { if ( ! file_exists ( $ specFilePath ) ) { throw new InvalidSpecFileException ( ) ; } $ specFileContent = file_get_contents ( $ specFilePath ) ; $ spec = json_decode ( $ specFileContent , true ) ; return $ spec ; }
Fetches specification for generator in JSON format
 @param $specFilePath
 @return mixed
 @throws Exception\InvalidSpecFileException
Fetches specification for generator in JSON format @param $specFilePath @return mixed @throws Exception \ InvalidSpecFileException