/** * {@inheritdoc} */ public function getMethods() { return $this->decorated->getMethods(); }
/** * {@inheritdoc} */ public function methodAccess(ResourceFieldInterface $resource_field) { return in_array($this->getRequest()->getMethod(), $resource_field->getMethods()); }