public function create(string $type, array $options = []) : DataSetContextInterface { $context = $this->collection->get($type); $context->configure($options); return $context; }
/** * Creates a dataset's context for given type * * @param string $type * @param array $options * * @return DataSetContextInterface */ public function create($type, array $options = []) { $context = $this->collection->get($type); $context->configure($options); return $context; }