DebugKit\Panel\IncludePanel::_isPluginFile PHP Method

_isPluginFile() protected method

Check if a path is from a plugin
protected _isPluginFile ( string $file ) : boolean
$file string File to check
return boolean
    protected function _isPluginFile($file)
    {
        foreach ($this->_pluginPaths as $plugin => $path) {
            if (strstr($file, $path)) {
                return $plugin;
            }
        }
        return false;
    }