private function confirmClear($cachesNames)
    {
        $this->stdout("The following cache components will be flushed:\n\n", Console::FG_YELLOW);

        foreach ($cachesNames as $name) {
            $this->stdout("\t* $name \n", Console::FG_GREEN);
        }

        return $this->confirm("\nFlush above cache components?");
    }
private function confirmClear($cachesNames)
    {
        $this->stdout("The following cache components will be flushed:\n\n", Console::FG_YELLOW);

        foreach ($cachesNames as $name) {
            $this->stdout("\t* $name \n", Console::FG_GREEN);
        }

        return $this->confirm("\nFlush above cache components?");
    }
private function confirmClear ( $ cachesNames ) { $ this -> stdout ( "The following cache components will be flushed:\n\n" , Console :: FG_YELLOW ) ; foreach ( $ cachesNames as $ name ) { $ this -> stdout ( "\t* $name \n" , Console :: FG_GREEN ) ; } return $ this -> confirm ( "\nFlush above cache components?" ) ; }
Prompts user with confirmation if caches should be cleared.
@param array $cachesNames
@return bool
Prompts user with confirmation if caches should be cleared .