mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-01-11 09:48:40 +00:00
Allow to set data array
This commit is contained in:
parent
96ac1d9dff
commit
55c267f01f
|
|
@ -324,7 +324,6 @@ abstract class RequestAbstract implements MessageInterface
|
|||
|
||||
return isset($this->data[$key])
|
||||
&& $this->data[$key] !== ''
|
||||
&& $this->data[$key] !== 0
|
||||
&& $this->data[$key] !== null;
|
||||
}
|
||||
|
||||
|
|
@ -353,6 +352,11 @@ abstract class RequestAbstract implements MessageInterface
|
|||
return false;
|
||||
}
|
||||
|
||||
public function fromData(array $data) : void
|
||||
{
|
||||
$this->data = $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* Lock request for further manipulations.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user