Magestead\Helper\Config::readConfigFile PHP Method

readConfigFile() protected method

protected readConfigFile ( ) : string
return string
    protected function readConfigFile()
    {
        if (!file_exists($this->_projectPath . '/magestead.yaml')) {
            throw new MissingConfigFileException('No config file was found, are you in the project root?');
        }
        return file_get_contents($this->_projectPath . '/magestead.yaml');
    }