public function getTags()
    {
        $tags = [];
        $this->caller->execute(TagCommand::getInstance($this)->listTags());
        foreach ($this->caller->getOutputLines() as $tagString) {
            if ($tagString != '') {
                $tags[] = new Tag($this, trim($tagString));
            }
        }

        return $tags;
    }
public function getTags()
    {
        $tags = [];
        $this->caller->execute(TagCommand::getInstance($this)->listTags());
        foreach ($this->caller->getOutputLines() as $tagString) {
            if ($tagString != '') {
                $tags[] = new Tag($this, trim($tagString));
            }
        }

        return $tags;
    }
public function getTags ( ) { $ tags = [ ] ; $ this -> caller -> execute ( TagCommand :: getInstance ( $ this ) -> listTags ( ) ) ; foreach ( $ this -> caller -> getOutputLines ( ) as $ tagString ) { if ( $ tagString != '' ) { $ tags [ ] = new Tag ( $ this , trim ( $ tagString ) ) ; } } return $ tags ; }
Gets an array of Tag objects

@throws \RuntimeException
@throws \Symfony\Component\Process\Exception\LogicException
@throws InvalidArgumentException
@throws \Symfony\Component\Process\Exception\RuntimeException
@return array
Gets an array of Tag objects