Sets the context of a property or item via a context aware parent.
This method is supposed to be called by the factory only.
string $name: (optional) The name of the property or the delta of the list item, or NULL if it is the root of a typed data tree. Defaults to NULL.
\Drupal\Core\TypedData\TypedDataInterface $parent: (optional) The parent object of the data property, or NULL if it is the root of a typed data tree. Defaults to NULL.
public function setContext($name = NULL, TypedDataInterface $parent = NULL);