yii\console\controllers\FixtureController::confirmUnload PHP Method

confirmUnload() private method

Prompts user with confirmation for fixtures that should be unloaded.
private confirmUnload ( array $fixtures, array $except ) : boolean
$fixtures array
$except array
return boolean
    private function confirmUnload($fixtures, $except)
    {
        $this->stdout("Fixtures namespace is: \n", Console::FG_YELLOW);
        $this->stdout("\t" . $this->namespace . "\n\n", Console::FG_GREEN);
        if (count($this->globalFixtures)) {
            $this->stdout("Global fixtures will be used:\n\n", Console::FG_YELLOW);
            $this->outputList($this->globalFixtures);
        }
        if (count($fixtures)) {
            $this->stdout("\nFixtures below will be unloaded:\n\n", Console::FG_YELLOW);
            $this->outputList($fixtures);
        }
        if (count($except)) {
            $this->stdout("\nFixtures that will NOT be unloaded:\n\n", Console::FG_YELLOW);
            $this->outputList($except);
        }
        return $this->confirm("\nUnload fixtures?");
    }