src/CommandFactory.php
public function loadCommands()
    {
        $slickModules = $this->filterSlickModules();
        $classes = $this->getCommandClasses($slickModules);
        foreach ($classes as $class) {
            if (is_subclass_of($class, Command::class)) {
                $this->application->add(new $class());
            }
        }
    }
public function loadCommands()
    {
        $slickModules = $this->filterSlickModules();
        $classes = $this->getCommandClasses($slickModules);
        foreach ($classes as $class) {
            if (is_subclass_of($class, Command::class)) {
                $this->application->add(new $class());
            }
        }
    }
public function loadCommands ( ) { $ slickModules = $ this -> filterSlickModules ( ) ; $ classes = $ this -> getCommandClasses ( $ slickModules ) ; foreach ( $ classes as $ class ) { if ( is_subclass_of ( $ class , Command :: class ) ) { $ this -> application -> add ( new $ class ( ) ) ; } } }
Load all slick commands
Load all slick commands