Liip\RMT\Application::getConfigFilePath PHP Method

getConfigFilePath() public method

public getConfigFilePath ( )
    public function getConfigFilePath()
    {
        $validConfigFileName = array('.rmt.yml', '.rmt.json', 'rmt.yml', 'rmt.json');
        foreach ($validConfigFileName as $filename) {
            if (file_exists($path = $this->getProjectRootDir() . DIRECTORY_SEPARATOR . $filename)) {
                return $path;
            }
        }
        return;
    }