private function writeMapping($model)
    {
        $path = $this->getMappingPath();

        $file = pathinfo($this->creator->create($model, $path), PATHINFO_FILENAME);

        $this->comment($file.' was created successfully');
    }
private function writeMapping($model)
    {
        $path = $this->getMappingPath();

        $file = pathinfo($this->creator->create($model, $path), PATHINFO_FILENAME);

        $this->comment($file.' was created successfully');
    }
private function writeMapping ( $ model ) { $ path = $ this -> getMappingPath ( ) ; $ file = pathinfo ( $ this -> creator -> create ( $ model , $ path ) , PATHINFO_FILENAME ) ; $ this -> comment ( $ file . ' was created successfully' ) ; }
Create the mapping file.

@param $model
Create the mapping file .