/** * Constructs a new SetItemField element * @param FieldURI $fieldURI URI of the field to save * @param Item $item Item containing the field * @return null */ public function __construct(PathToUnindexedField $fieldURI, Item $item) { parent::__construct(self::NAME, $fieldURI); $this->item = $item; }
/** * Create a new DeleteItemField element * @param PathToUnindexedField $fieldURI URI of the field to clear * @return null */ public function __construct(PathToUnindexedField $fieldURI) { parent::__construct(self::NAME, $fieldURI); }