default value * @since 8.0.0 * @deprecated 22.0.0 this method is only used internally */ public function getParameters(): array; /** * Check if a method contains an annotation * * @param string $name the name of the annotation * @return bool true if the annotation is found * @since 8.0.0 * @deprecated 22.0.0 will be obsolete with native attributes in PHP8 * @see https://help.nextcloud.com/t/how-should-we-use-php8-attributes/104278 */ public function hasAnnotation(string $name): bool; /** * @template T * * Check if a method contains an annotation or an attribute. * Log a debug line if the annotation is used. * * @param class-string $attributeClass * @since 34.0.0 */ public function hasAnnotationOrAttribute(?string $annotationName, string $attributeClass): bool; }