function stopRunning()
    {
        $this->brew->stopService(
            $this->brew->getRunningServices()
                ->filter(function ($service) {
                    return substr($service, 0, 3) === 'php';
                })
                ->all()
        );
    }
function stopRunning()
    {
        $this->brew->stopService(
            $this->brew->getRunningServices()
                ->filter(function ($service) {
                    return substr($service, 0, 3) === 'php';
                })
                ->all()
        );
    }
function stopRunning ( ) { $ this -> brew -> stopService ( $ this -> brew -> getRunningServices ( ) -> filter ( function ( $ service ) { return substr ( $ service , 0 , 3 ) === 'php' ; } ) -> all ( ) ) ; }
Only stop running php services
Only stop running php services