Example #1
0
 /**
  * Constructs migration class name from the migration name.
  *
  * @param $name
  * @return string
  */
 protected function getClassName($name)
 {
     return ExtStr::classify($this->getName($name));
 }
Example #2
0
 /**
  * Constructs path to a model.
  *
  * @param $name
  * @param $path
  * @return string
  */
 protected function getPath($name, $path)
 {
     return $path . '/' . ExtStr::classify($name) . '.php';
 }