Skip to content

Provide template and/or more customisation options #410

Open
@Gert-dev

Description

@Gert-dev

Originally posted by @mdeboer:

I'm absolutely in love with the getter/setter generation except that I always have to do a round of regex replace to get all docblocks how I want them.

For instance I want to have one space between parentheses and colon for return type declaration like public function foo() : void, except it doesn't. Also it adds @return static on setters instead of @return MyClass with a return type declaration, like I would want it to. It's a fine standard but I'm just picky 😆

Anyway I've seen other (outdated) packages that allows you to set a getter and setter template. Even if it were only for the docblocks it would be amazing to have. Or if templates are not the way to go for some reason, I wouldn't mind having some settings to tweak the things I mentioned above.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions