Returns a new context object, instantiated according to the data in the given context object and the array.
public static from_existing ( |
||
$context | Context object. | |
$data | array | Context data. |
return | Context object. |