classes/Models/Worker.php
public static function all()
    {
        $output = array();
        $namespaced = Command::allCustom();
        foreach ($namespaced as $namespace => $commands) {
            foreach ($commands as $title => $command) {
                if (is_a($command, 'Bkwld\Decoy\Models\Worker')) {
                    $output[] = $command;
                }
            }
        }

        return $output;
    }
public static function all()
    {
        $output = array();
        $namespaced = Command::allCustom();
        foreach ($namespaced as $namespace => $commands) {
            foreach ($commands as $title => $command) {
                if (is_a($command, 'Bkwld\Decoy\Models\Worker')) {
                    $output[] = $command;
                }
            }
        }

        return $output;
    }
public static function all ( ) { $ output = array ( ) ; $ namespaced = Command :: allCustom ( ) ; foreach ( $ namespaced as $ namespace => $ commands ) { foreach ( $ commands as $ title => $ command ) { if ( is_a ( $ command , 'Bkwld\Decoy\Models\Worker' ) ) { $ output [ ] = $ command ; } } } return $ output ; }
Get all the tasks that have workers
Get all the tasks that have workers