protected _isPluginFile ( string $file ) : boolean | ||
$file | string | File to check |
Результат | boolean |
protected function _isPluginFile($file)
{
foreach ($this->_pluginPaths as $plugin => $path) {
if (strstr($file, $path)) {
return $plugin;
}
}
return false;
}