src/Eloquent/Typhoon/Configuration/ConfigurationReader.php
protected function readTyphoon($path)
    {
        $this->typeCheck->readTyphoon(func_get_args());

        $typhoonPath = $this->typhoonPath($path);
        if (!$this->isolator->is_file($typhoonPath)) {
            return null;
        }

        return $this->buildConfiguration(
            $this->loadJSON($typhoonPath)
        );
    }
protected function readTyphoon($path)
    {
        $this->typeCheck->readTyphoon(func_get_args());

        $typhoonPath = $this->typhoonPath($path);
        if (!$this->isolator->is_file($typhoonPath)) {
            return null;
        }

        return $this->buildConfiguration(
            $this->loadJSON($typhoonPath)
        );
    }
protected function readTyphoon ( $ path ) { $ this -> typeCheck -> readTyphoon ( func_get_args ( ) ) ; $ typhoonPath = $ this -> typhoonPath ( $ path ) ; if ( ! $ this -> isolator -> is_file ( $ typhoonPath ) ) { return null ; } return $ this -> buildConfiguration ( $ this -> loadJSON ( $ typhoonPath ) ) ; }
@param string $path

@return Configuration|null
@param string $path