public function installAll()
    {
        try {
            $response = $this->manager()->installPackages();
        } catch (\Exception $e) {
            return $this->getJsonException($e);
        }

        if ($response === 0) {
            return new Response($this->manager()->getOutput());
        }

        return $this->getJsonException(new PackageManagerException($this->manager()->getOutput(), $response));
    }
public function installAll()
    {
        try {
            $response = $this->manager()->installPackages();
        } catch (\Exception $e) {
            return $this->getJsonException($e);
        }

        if ($response === 0) {
            return new Response($this->manager()->getOutput());
        }

        return $this->getJsonException(new PackageManagerException($this->manager()->getOutput(), $response));
    }
public function installAll ( ) { try { $ response = $ this -> manager ( ) -> installPackages ( ) ; } catch ( \ Exception $ e ) { return $ this -> getJsonException ( $ e ) ; } if ( $ response === 0 ) { return new Response ( $ this -> manager ( ) -> getOutput ( ) ) ; } return $ this -> getJsonException ( new PackageManagerException ( $ this -> manager ( ) -> getOutput ( ) , $ response ) ) ; }
Install all packages that are in the composer.json but not in vendor.

Equivalent to `composer install`

@throws PackageManagerException

@return \Symfony\Component\HttpFoundation\Response
Install all packages that are in the composer . json but not in vendor .