LMongo\Eloquent\Model::collection PHP Method

collection() public method

Set the collection associated with the model.
public collection ( string $collection ) : void
$collection string
return void
    public function collection($collection)
    {
        $this->collection = $collection;
    }
Model