예제 #1
0
 public function __construct($entity, $filter = ["", "update_entity"], $fields = [], $context = NULL, Loops $loops = NULL)
 {
     parent::__construct($entity, $filter, $fields, $context, $loops);
 }
예제 #2
0
 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);
 }