public function all(): array
    {
        // Iterate through all the command providers to set any deferred
        // commands
        foreach (self::$provided as $provided => $provider) {
            // Initialize the provided command
            $this->initializeProvided($provided);
        }

        return self::$commands;
    }
public function all(): array
    {
        // Iterate through all the command providers to set any deferred
        // commands
        foreach (self::$provided as $provided => $provider) {
            // Initialize the provided command
            $this->initializeProvided($provided);
        }

        return self::$commands;
    }
public function all ( ) : array { // Iterate through all the command providers to set any deferred // commands foreach ( self :: $ provided as $ provided => $ provider ) { // Initialize the provided command $ this -> initializeProvided ( $ provided ) ; } return self :: $ commands ; }
Get all commands.

@return \Valkyrja\Console\Command[]
Get all commands .