/** * Get destination path. * * @return string */ public function getDestinationPath() { if ($this->path) { return $this->path; } return $this->repository->getModulePath($this->getModuleName()); }
/** * 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'); }