Maslosoft Mangan API
Trait OwneredTrait
This trait provides basic implemention on ownering of documents. This allows sub-document to get it's parent or root document.
When using this trait, it is recommended that all classes in composition to
implement OwneredInterface or use this trait.
NOTE: Currently it's implementation does not work instantly. Owner is set when transforming objects, which include save/load.
Direct Known Users
Indirect Known Users
Maslosoft\Mangan\Document,
Maslosoft\Mangan\Example\ExampleAddress,
Maslosoft\Mangan\Example\ExampleUser,
Maslosoft\Mangan\Model\File,
Maslosoft\Mangan\Model\Image,
Maslosoft\Mangan\Model\Trash,
Maslosoft\Mangan\Model\TrashItem
See:
Maslosoft\Mangan\Interfaces\OwneredInterfaceAuthor: Piotr Maselkowski
Located at Traits/OwneredTrait.php
Methods summary
public
Maslosoft\Addendum\Interfaces\AnnotatedInterface
|
|
public
Maslosoft\Addendum\Interfaces\AnnotatedInterface
|
|
public
|