Skip to content

feat: provide attribute for naming a getter/setter #11

Description

@ThorstenSuckow

It should be possible to provide a custom name for the generated accessor.

 /**
  * Method targetsCollection() now returns the value of $collection, instead of isCollection()
  */
#[Getter(Modifier::PUBLIC, "targetsCollection")] 
private bool $collection = false;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions