Bake\Shell\Task\TestTask::_bakeAll PHP Méthode

_bakeAll() protected méthode

protected _bakeAll ( string $type ) : void
$type string The typename to get bake all classes for.
Résultat void
    protected function _bakeAll($type)
    {
        $mappedType = $this->mapType($type);
        $classes = $this->_getClassOptions($mappedType);
        foreach ($classes as $class) {
            if ($this->bake($type, $class)) {
                $this->out('<success>Done - ' . $class . '</success>');
            } else {
                $this->out('<error>Failed - ' . $class . '</error>');
            }
        }
        $this->out('<info>Bake finished</info>');
    }