Laravel\Envoy\Console\TasksCommand::listTasks PHP Method

listTasks() protected method

List the tasks from the container.
protected listTasks ( TaskContainer $container ) : void
$container Laravel\Envoy\TaskContainer
return void
    protected function listTasks($container)
    {
        $this->output->writeln('<comment>Available tasks:</comment>');
        foreach (array_keys($container->getTasks()) as $task) {
            $this->output->writeln("  <info>{$task}</info>");
        }
    }