Skip to content
This repository has been archived by the owner on Oct 24, 2023. It is now read-only.

Commit

Permalink
feat(UpdateRequest): add hasActions method to update requests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Schulze committed May 24, 2016
1 parent f756a58 commit cb98ffd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Request/AbstractUpdateRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,14 @@ public function getActions()
return $this->actions;
}

/**
* @return bool
*/
public function hasActions()
{
return (0 !== count($this->actions));
}

/**
* @param array $actions
* @return $this
Expand Down

0 comments on commit cb98ffd

Please # to comment.