예제 #1
0
파일: Make.php 프로젝트: sleimanx2/plastic
 /**
  * Create the mapping file.
  *
  * @param $model
  */
 private function writeMapping($model)
 {
     $path = $this->getMappingPath();
     $file = pathinfo($this->creator->create($model, $path), PATHINFO_FILENAME);
     $this->comment($file . ' was created successfully');
 }