src/Tasks/UpdatePackageInfoTask.php
public function getSupportedPackages()
    {
        try {
            return $this->getSupportedAddonsLoader()->getAddonNames() ?: [];
        } catch (RuntimeException $exception) {
            echo $exception->getMessage() . PHP_EOL;
        }

        return null;
    }
public function getSupportedPackages()
    {
        try {
            return $this->getSupportedAddonsLoader()->getAddonNames() ?: [];
        } catch (RuntimeException $exception) {
            echo $exception->getMessage() . PHP_EOL;
        }

        return null;
    }
public function getSupportedPackages ( ) { try { return $ this -> getSupportedAddonsLoader ( ) -> getAddonNames ( ) ? : [ ] ; } catch ( RuntimeException $ exception ) { echo $ exception -> getMessage ( ) . PHP_EOL ; } return null ; }
Return an array of supported modules as fetched from addons.silverstripe.org. Outputs a message and returns null
if an error occurs

@return null|array
Return an array of supported modules as fetched from addons . silverstripe . org . Outputs a message and returns null if an error occurs