public setPathToVendorPackage ( string $packageName ) : void | ||
$packageName | string | |
return | void |
public function setPathToVendorPackage($packageName)
{
$this->path = $this->path . '/vendor/' . $packageName;
}
/** * Execute the console command. * * @return mixed */ public function handle() { if ($package = $this->option('package')) { $this->manager->setPathToVendorPackage($package); } $this->files = $this->manager->files(); if (empty($this->files)) { $this->warn('No language files were found!'); } $languages = $this->manager->languages(); $this->table(array_merge(['key'], $languages), $this->tableRows()); }