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

		$stub = $this->getStub( 'model' );

		$this->files->put( $path, $this->parseStub( $stub, [
			'table' => $this->tableize( $name ),
			'class' => $this->classify( $name )
		] ) );

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

		$stub = $this->getStub( 'model' );

		$this->files->put( $path, $this->parseStub( $stub, [
			'table' => $this->tableize( $name ),
			'class' => $this->classify( $name )
		] ) );

		return $path;
	}
public function create ( $ name , $ path ) { $ path = $ this -> getPath ( $ name , $ path ) ; $ stub = $ this -> getStub ( 'model' ) ; $ this -> files -> put ( $ path , $ this -> parseStub ( $ stub , [ 'table' => $ this -> tableize ( $ name ) , 'class' => $ this -> classify ( $ name ) ] ) ) ; return $ path ; }
Create a new model at the given path.

@param  string $name
@param  string $path
@return string
Create a new model at the given path .