Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/Page/AbstractPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public static function factory($options)
*
* @param array|Traversable $options [optional] page options. Default is
* null, which should set defaults.
* @throws Exception if invalid options are given
* @throws Exception\InvalidArgumentException if invalid options are given
*/
public function __construct($options = null)
{
Expand Down Expand Up @@ -475,6 +475,8 @@ public function getTarget()
*
* @param array|Traversable $relations [optional] an associative array of
* forward links to other pages
* @throws Exception\InvalidArgumentException if $relations is not an array
* or Traversable object
* @return AbstractPage fluent interface, returns self
*/
public function setRel($relations = null)
Expand Down Expand Up @@ -539,6 +541,8 @@ public function getRel($relation = null)
* @param array|Traversable $relations [optional] an associative array of
* reverse links to other pages
*
* @throws Exception\InvalidArgumentException if $relations it not an array
* or Traversable object
* @return AbstractPage fluent interface, returns self
*/
public function setRev($relations = null)
Expand Down Expand Up @@ -811,6 +815,7 @@ public function getVisible($recursive = false)
*
* @param AbstractContainer $parent [optional] new parent to set.
* Default is null which will set no parent.
* @throws Exception\InvalidArgumentException
* @return AbstractPage fluent interface, returns self
*/
public function setParent(AbstractContainer $parent = null)
Expand Down

0 comments on commit 02e8122

Please sign in to comment.