Skip to content

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

@ThorstenSuckow

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;

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