/** * Get destination assets path for the specified module. * * @param string $name * @return string */ public function getDestinationPath($name) { return realpath($this->module->getAssetsPath()) . "/{$name}/"; }
/** * Setup the module assets folder. */ protected function setupAssetsFolder() { $this->createFolder($this->module->getAssetsPath(), 'The module assets folder has been created successful.', 'The module assets already exist.'); }