getDirectory() public method

Gets the path to the directory containing the working copy.
public getDirectory ( ) : string
return string
Esempio n. 1
0
 /**
  * Get name of current repo
  *
  * @return string
  */
 protected function getRepoName()
 {
     $dir = $this->repository->getDirectory();
     return basename($dir);
 }