/** * {@inheritdoc} */ public function offsetGet($offset) { try { return $this->resources->getRequest($offset); } catch (\InvalidArgumentException $e) { } try { return $this->resources->getUrl($offset); } catch (\InvalidArgumentException $e) { } try { return $this->resources->getPath($offset); } catch (\InvalidArgumentException $e) { } return null; }