Added tests and fixed func name in PropertyBag
This commit is contained in:
parent
3899d191a4
commit
88b6247e63
@ -88,7 +88,7 @@ class PropertyBag
|
||||
* @param mixed Default value
|
||||
* @return mixed
|
||||
*/
|
||||
public function value(string $prop, $default=null)
|
||||
public function valueOf(string $prop, $default=null)
|
||||
{
|
||||
return array_key_exists($prop, $this->props)
|
||||
? $this->props[$prop]
|
||||
|
Loading…
Reference in New Issue
Block a user