PHP Mongolid\Model Namespace

Interfaces

Name Description
AttributesAccessInterface This interface declares attribute getter, setters and also a useful `fill` method.
PolymorphableInterface If a model implements the PolymorphableInterface it means that, whenever the entity is being "recovered" from the database, it will call the polymorph method and retrieve the object returned from it.

Classes

Name Description
AttributesTest
AttributesTest.AttributesTest.
DocumentEmbedder Document embeder is a service that will embed documents within each other.
DocumentEmbedderTest
RelationsTest
RelationsTest.RelationsTest.

Traits

Name Description
Attributes This trait adds attribute getter, setters and also a useful `fill` method that can be used with $fillable and $guarded properties to make sure that only the correct attributes will be set.
Relations It is supposed to be used in model classes in general.