Updated the DocBlock for ManyManyList's add() method

This commit is contained in:
Benjamin Blake 2018-03-11 14:49:17 -06:00
parent 9c50b03b86
commit 6fb8d27ac5

View File

@ -188,6 +188,13 @@ class ManyManyList extends RelationList {
* Add an item to this many_many relationship
* Does so by adding an entry to the joinTable.
*
* Can also be used to update an already existing joinTable entry
*
* Example:
*
* $manyManyList->add($recordID,["ExtraField"=>"value"]);
*
*
* @throws InvalidArgumentException
* @throws Exception
*