protected function getComposerCmd()
    {
        if (!file_exists($this->getBasePath() . '/composer.phar')) {
            return 'composer';
        }

        $binary = ($phpBinary = getenv('PHP_BINARY')) ? $phpBinary : PHP_BINARY;

        return $binary . ' composer.phar';
    }