registryManager = $registryManager; parent::__construct( $entityFactory, $logger, $fetchStrategy, $eventManager, $entitySnapshot, $connection, $resource ); } /** * Resource initialization * * @return $this */ protected function _initSelect() { parent::_initSelect(); $order = $this->registryManager->registry('current_order'); if ($order) { $this->addOrderIdFilter($order->getId()); } $this->addOrderInformation(['increment_id']); $this->addPaymentInformation(['method']); return $this; } }