Skip to content

Commit

Permalink
Add Command::getParams().
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Nikolaev committed Aug 24, 2021
1 parent 2ce4b6e commit d51b77a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@
- Add Command::getParam();

6.2.4: Add lead router.

6.2.5: Add Command::getParams().
8 changes: 8 additions & 0 deletions Request/Command/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,14 @@ public function setMethod(string $method): Command
return $this;
}

/**
* @return array
*/
public function getParams(): array
{
return $this->params;
}

/**
* @param array $params params
*
Expand Down

0 comments on commit d51b77a

Please sign in to comment.