BcThemeConfigReader::_getFilePath PHP Méthode

_getFilePath() protected méthode

与えられたテーマのディレクトリ名に対応する設定ファイルのパスを取得
protected _getFilePath ( string $key ) : string
$key string テーマ名(ディレクトリ名)
Résultat string 設定ファイルのフルパス
    protected function _getFilePath($key)
    {
        $dir = $this->_path . $key;
        if (!is_dir($dir)) {
            throw new ConfigureException(__d('cake_dev', '指定されたテーマ名のディレクトリが存在しません: %s', $dir));
        }
        return $dir . DS . self::CONFIG_FILE_NAME;
    }