Liip\RMT\VCS\Git::getTags PHP Method

getTags() public method

public getTags ( )
    public function getTags()
    {
        return $this->executeGitCommand('tag');
    }

Usage Example

Beispiel #1
0
 public function testCreateTag()
 {
     $vcs = new Git();
     $vcs->createTag(new \Liip\RMT\Version('2.0.0'));
     $this->assertEquals(array("1.0.0", "1.1.0", "2.0.0"), $vcs->getTags());
 }