/** * Set up of attributes */ protected function setAttribs() { $name = strtolower($this->argument('name')); $this->tableName = $this->inflector->pluralize($this->inflector->underscore($name)); $this->varModelName = $this->inflector->singularize($this->inflector->camelize($name, Inflector::DOWNCASE_FIRST_LETTER)); $this->varModelNamePlural = $this->inflector->pluralize($this->varModelName); $this->modelName = ucfirst($this->varModelName); }