| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Mediates between the domain and data mapping layers using a collection-like interface for accessing domain objects. Repository encapsulates the set of objects persisted in a data store and the operations performed over them, providing a more object-oriented view of the persistence layer. Repository also supports the objective of achieving a clean separation and one-way dependency between the domain and data mapping layers.
You can also find these code on GitHub
Post.php
.. literalinclude:: Post.php :language: php :linenos:
PostRepository.php
.. literalinclude:: PostRepository.php :language: php :linenos:
Storage.php
.. literalinclude:: Storage.php :language: php :linenos:
MemoryStorage.php
.. literalinclude:: MemoryStorage.php :language: php :linenos:
| Back | FazBrowse Home | New Git URL |