src/Rocketeer/Strategies/Check/AbstractCheckStrategy.php
public function manager()
    {
        $manager = $this->getManager();
        if (!$manager) {
            return true;
        }

        // Check if we have a manifest to go from
        // Else assume we're not using it on this project
        $managerName = $manager->getName();
        $hasManifest = $manager->hasManifest();
        if (!$hasManifest) {
            return true;
        }

        // Check if the server has the package manager
        $hasManager = $manager->isExecutable();
        if (!$hasManager) {
            $this->explainer->error($managerName.' is not present (or executable)');
        }

        return $hasManager && $hasManifest;
    }
public function manager()
    {
        $manager = $this->getManager();
        if (!$manager) {
            return true;
        }

        // Check if we have a manifest to go from
        // Else assume we're not using it on this project
        $managerName = $manager->getName();
        $hasManifest = $manager->hasManifest();
        if (!$hasManifest) {
            return true;
        }

        // Check if the server has the package manager
        $hasManager = $manager->isExecutable();
        if (!$hasManager) {
            $this->explainer->error($managerName.' is not present (or executable)');
        }

        return $hasManager && $hasManifest;
    }
public function manager ( ) { $ manager = $ this -> getManager ( ) ; if ( ! $ manager ) { return true ; } // Check if we have a manifest to go from // Else assume we're not using it on this project $ managerName = $ manager -> getName ( ) ; $ hasManifest = $ manager -> hasManifest ( ) ; if ( ! $ hasManifest ) { return true ; } // Check if the server has the package manager $ hasManager = $ manager -> isExecutable ( ) ; if ( ! $ hasManager ) { $ this -> explainer -> error ( $ managerName . ' is not present (or executable)' ) ; } return $ hasManager && $ hasManifest ; }
Check that the PM that'll install
the app's dependencies is present.

@return bool
Check that the PM that ll install the app s dependencies is present .