public function __construct($entity, $filter = ["", "update_entity"], $fields = [], $context = NULL, Loops $loops = NULL) { parent::__construct($entity, $filter, $fields, $context, $loops); }
public function __construct($entity, $filter = ["", "persist_entity"], $fields = [], $context = NULL, Loops $loops = NULL) { parent::__construct(is_string($entity) ? new $entity() : $entity, $filter, $fields, $context, $loops); }