ApiView::_paths PHP Метод

_paths() защищенный Метод

Return all possible paths to find view files in order
protected _paths ( string $plugin = null, boolean $cached = true ) : array
$plugin string Optional plugin name to scan for view files.
$cached boolean Set to true to force a refresh of view paths.
Результат array paths
    protected function _paths($plugin = null, $cached = true)
    {
        if ($plugin === null && $cached === true && !empty($this->_paths)) {
            return $this->_paths;
        }
        $paths = parent::_paths($plugin, $cached);
        $paths[] = App::pluginPath('Api') . 'View' . DS;
        return $this->_paths = $paths;
    }