protected _expandPrefix ( string $path ) : string | ||
$path | string | Path to resolve |
리턴 | string | resolved path |
protected function _expandPrefix($path)
{
if (preg_match(self::PLUGIN_PATTERN, $path)) {
return $this->_expandPlugin($path);
}
if ($this->theme && preg_match(self::THEME_PATTERN, $path)) {
return $this->_expandTheme($path);
}
return $path;
}