NLComponent::factory
Given an NLComponent object hierarchy, generate the actual NLComponent instances. The object passed in is an object structure that is a deserialised json object, so the objects are untyped. We use the ClassName property in each to determine the actual type. Bindings are done lazily; the component only interprets the binding definitions in $object later if it needs to.
Signature
public function factory(
$object,
$view )
Parameters
$object
—$view
—
Returns
- void