JamesMoss\Flywheel\Repository::getName PHP Method

getName() public method

Returns the name of this repository
public getName ( ) : string
return string The name of the repo
    public function getName()
    {
        return $this->name;
    }

Usage Example

 /**
  * @dataProvider validNameProvider
  */
 public function testValidRepoName($name)
 {
     $config = new Config('/tmp');
     $repo = new Repository($name, $config);
     $this->assertSame($name, $repo->getName());
 }