Skip to content

Support 8.0 attributes in extension stubs #9967

Closed as not planned
Closed as not planned
@tillkruss

Description

@tillkruss

Description

Hello!

We'd like to use 8.0 attributes in generated arginfo files for our extensions.

it seems that #[\SensitiveParameter] is supported, but that's about not:

namespace MyExtension {
​
  class Foobar {
    
    #[\MyExtension\FooAttribute]
    public function getBaz() {
      //
    }
​
  }

  class FooAttribute { }
​
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions