Redaxscript\Console\Command\Cache::_clear PHP Метод

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

clear the cache
С версии: 3.0.0
protected _clear ( array $optionArray = [] ) : boolean
$optionArray array
Результат boolean
    protected function _clear($optionArray = [])
    {
        $directory = $optionArray['directory'];
        $extension = $optionArray['extension'];
        $bundle = array_filter(explode(',', $optionArray['bundle']));
        $cache = new BaseCache();
        return $cache->init($directory, $extension)->clear($bundle);
    }