original_string: private function getFileName()
      {
          $name = $this->getArgumentNameOnly();
  
          switch ($this->option('type')) {
              case 'view':
  
                  break;
              case 'model':
                  $name = $this->getModelName();
                  break;
              case 'controller':
                  $name = $this->getControllerName($name);
                  break;
              case 'seed':
                  $name = $this->getSeedName($name);
                  break;
          }
  
          // overide the name
          if ($this->option('name')) {
              return $this->option('name') . $this->settings['file_type'];
          }
  
          return $this->settings['prefix'] . $name . $this->settings['postfix'] . $this->settings['file_type'];
      }
code: private function getFileName()
      {
          $name = $this->getArgumentNameOnly();
  
          switch ($this->option('type')) {
              case 'view':
  
                  break;
              case 'model':
                  $name = $this->getModelName();
                  break;
              case 'controller':
                  $name = $this->getControllerName($name);
                  break;
              case 'seed':
                  $name = $this->getSeedName($name);
                  break;
          }
  
          // overide the name
          if ($this->option('name')) {
              return $this->option('name') . $this->settings['file_type'];
          }
  
          return $this->settings['prefix'] . $name . $this->settings['postfix'] . $this->settings['file_type'];
      }
code_tokens: private function getFileName ( ) { $ name = $ this -> getArgumentNameOnly ( ) ; switch ( $ this -> option ( 'type' ) ) { case 'view' : break ; case 'model' : $ name = $ this -> getModelName ( ) ; break ; case 'controller' : $ name = $ this -> getControllerName ( $ name ) ; break ; case 'seed' : $ name = $ this -> getSeedName ( $ name ) ; break ; } // overide the name if ( $ this -> option ( 'name' ) ) { return $ this -> option ( 'name' ) . $ this -> settings [ 'file_type' ] ; } return $ this -> settings [ 'prefix' ] . $ name . $ this -> settings [ 'postfix' ] . $ this -> settings [ 'file_type' ] ; }
docstring: Get the filename of the file to generate
  
  @return string
docstring_tokens: Get the filename of the file to generate