Beispiel #1
0
 /**
  * Get destination path.
  *
  * @return string
  */
 public function getDestinationPath()
 {
     if ($this->path) {
         return $this->path;
     }
     return $this->repository->getModulePath($this->getModuleName());
 }
Beispiel #2
0
 /**
  * Get laravel filesystem instance.
  *
  * @return Filesystem
  */
 public function getFilesystem()
 {
     return $this->workbench->getFiles();
 }
 /**
  * Get replacement for $AUTHOR_EMAIL$.
  *
  * @return string
  */
 protected function getAuthorEmailReplacement()
 {
     return $this->workbench->config('composer.author.email');
 }