src/Rocketeer/Binaries/PackageManagers/Composer.php
public function setBinary($binary)
    {
        parent::setBinary($binary);

        // Prepend PHP command if executing from archive
        if (mb_strpos($binary, 'composer.phar') !== false) {
            $php = new Php($this->container);
            $this->setParent($php);
        }
    }
public function setBinary($binary)
    {
        parent::setBinary($binary);

        // Prepend PHP command if executing from archive
        if (mb_strpos($binary, 'composer.phar') !== false) {
            $php = new Php($this->container);
            $this->setParent($php);
        }
    }
public function setBinary ( $ binary ) { parent :: setBinary ( $ binary ) ; // Prepend PHP command if executing from archive if ( mb_strpos ( $ binary , 'composer.phar' ) !== false ) { $ php = new Php ( $ this -> container ) ; $ this -> setParent ( $ php ) ; } }
Change Composer's binary.

@param string $binary
Change Composer s binary .