/** * {@inheritdoc} */ public function isDeprecated() { return $this->declaringClass->isDeprecated(); }