code: public function get()
      {
          $connectionLocator = $this->injector->getInstance(ConnectionLocatorInterface::class, $this->context);
          $isGetRequest = isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'GET';
          $pdo = $isGetRequest ? $connectionLocator->getRead() : $connectionLocator->getWrite();
  
          return $pdo;
      }
docs: {@inheritdoc}