PHP Mongolid\Model Пространство имен

Interfaces

Имя Описание
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.

Классы

Имя Описание
AttributesTest
AttributesTest.AttributesTest.
DocumentEmbedder Document embeder is a service that will embed documents within each other.
DocumentEmbedderTest
RelationsTest
RelationsTest.RelationsTest.

Traits

Имя Описание
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.