public function contains($reference)
    {
        $this->clearAll();
        $this->addCommandName(self::BRANCH_COMMAND);
        $this->addCommandArgument('--contains');
        $this->addCommandSubject($reference);

        return $this->getCommand();
    }
public function contains($reference)
    {
        $this->clearAll();
        $this->addCommandName(self::BRANCH_COMMAND);
        $this->addCommandArgument('--contains');
        $this->addCommandSubject($reference);

        return $this->getCommand();
    }
public function contains ( $ reference ) { $ this -> clearAll ( ) ; $ this -> addCommandName ( self :: BRANCH_COMMAND ) ; $ this -> addCommandArgument ( '--contains' ) ; $ this -> addCommandSubject ( $ reference ) ; return $ this -> getCommand ( ) ; }
Locate branches that contain a reference

@param string $reference reference

@throws \RuntimeException
@return string the command
Locate branches that contain a reference