Cleaned files
This commit is contained in:
@ -14,18 +14,18 @@ class Method
|
||||
{
|
||||
private $name;
|
||||
private $service;
|
||||
|
||||
|
||||
public function __construct($values)
|
||||
{
|
||||
$this->name = isset($values['value']) ? $values['value'] : null;
|
||||
$this->service = isset($values['service']) ? $values['service'] : null;
|
||||
}
|
||||
|
||||
|
||||
public function getName($default = null)
|
||||
{
|
||||
return $this->name !== null ? $this->name : $default;
|
||||
}
|
||||
|
||||
|
||||
public function getService()
|
||||
{
|
||||
return $this->service;
|
||||
|
Reference in New Issue
Block a user