This repository has been archived by the owner on May 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be8e0af
commit df9b047
Showing
1 changed file
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
naming | ||
====== | ||
|
||
Naming conventions | ||
================== | ||
|
||
A collection of abstract naming conventions so I don't have to think about this kind of stuff anymore. | ||
|
||
* `Collection`: A group of `CollectionItems`. Example: `BlogPostCollection` has many `BlogPost`s https://github.com/doctrine/collections/blob/master/lib/Doctrine/Common/Collections/ArrayCollection.php | ||
* `CollectionItem`: Belongs to a `Collection`: | ||
* `Period`: The span of two Dates. Example: http://www.php.net/manual/en/class.dateperiod.php | ||
* `Interval`: A repeating unit in a `Period`. Example: `P2W` http://php.net/manual/en/class.dateinterval.php | ||
* `Range`: An array of elements with a predefined set of steps | ||
* `Criteria`: Any kind of condition / clause for searches, where statements etc |