/**
  * Get studly file name
  *
  * @return string
  */
 protected function getFileName()
 {
     $name = parent::getFileName();
     if (!str_contains(strtolower($name), 'controller')) {
         $name .= 'Controller';
     }
     return $name;
 }
 /**
  * Get seeder name.
  *
  * @return string
  */
 protected function getFileName()
 {
     $end = $this->option('master') ? 'DatabaseSeeder' : 'TableSeeder';
     return parent::getFileName() . $end;
 }
 /**
  * Get the destination file path.
  *
  * @param  string $name
  *
  * @return string
  */
 protected function getDestinationFilePath($name = '')
 {
     return parent::getDestinationFilePath('request');
 }
 /**
  * Get the destination file path.
  *
  * @param  string $name
  *
  * @return string
  */
 protected function getDestinationFilePath($name = '')
 {
     return parent::getDestinationFilePath('provider');
 }
 /**
  * Run the command.
  */
 public function handle()
 {
     parent::handle();
     $this->call('optimize');
 }
 /**
  * Get the destination file path.
  *
  * @param  string $name
  *
  * @return string
  */
 protected function getDestinationFilePath($name = '')
 {
     return parent::getDestinationFilePath('command');
 }