public function create($model, $path)
    {
        $path = $this->getPath($model, $path);

        $stub = $this->getStub();

        $this->files->put($path, $this->populateStub($model, $stub));

        $this->firePostCreateHooks();

        return $path;
    }
public function create($model, $path)
    {
        $path = $this->getPath($model, $path);

        $stub = $this->getStub();

        $this->files->put($path, $this->populateStub($model, $stub));

        $this->firePostCreateHooks();

        return $path;
    }
public function create ( $ model , $ path ) { $ path = $ this -> getPath ( $ model , $ path ) ; $ stub = $ this -> getStub ( ) ; $ this -> files -> put ( $ path , $ this -> populateStub ( $ model , $ stub ) ) ; $ this -> firePostCreateHooks ( ) ; return $ path ; }
Create a mapping file.

@param $model
@param $path

@return string
Create a mapping file .