Skip to content

Commit

Permalink
Improving doc blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Dec 18, 2014
1 parent 31ac8fa commit 2dfcafd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ORM/EagerLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ public function contain($associations = []) {
* parameter, this will translate in setting all those associations with the
* `matching` option.
*
* @param string $assoc A single association or a dot separated path of associations.
* If called with no arguments it will return the current tree of associations to
* be matched.
*
* @param string $assoc|null A single association or a dot separated path of associations.
* @param callable|null $builder the callback function to be used for setting extra
* options to the filtering query
* @return array The resulting containments array
Expand Down Expand Up @@ -496,6 +499,7 @@ public function loadExternal($query, $statement) {
* - canBeJoined: Whether or not the association will be loaded using a JOIN
* - entityClass: The entity that should be used for hydrating the results
* - nestKey: A dotted path that can be used to correctly insert the data into the results.
* - mathcing: Whether or not it is an association loaded through `matching()`.
*
* @param \Cake\ORM\Table $table The table containing the association that
* will be normalized
Expand Down

0 comments on commit 2dfcafd

Please sign in to comment.