1
0

refactoring of commands. now they are semantic

This commit is contained in:
frostealth
2016-10-08 00:17:22 +06:00
parent 55fa650f52
commit b4d9605bdc
17 changed files with 142 additions and 138 deletions

View File

@@ -17,10 +17,10 @@ trait Options
*
* @return $this
*/
final public function setOptions(array $value)
final public function withOptions(array $value)
{
$this->options = $value;
return $this;
}
@@ -38,10 +38,10 @@ trait Options
*
* @return $this
*/
final public function setOption(string $name, $value)
final public function withOption(string $name, $value)
{
$this->options[$name] = $value;
return $this;
}
}