Skip to content

Builder Pattern (method chaining) approach #1

@jakubmikita

Description

@jakubmikita

Suggested by Lucas on Facebook:

I like the Requirements one, if I may be picky, it seems like a good candidate for the Builder Pattern! https://3v4l.org/kgEJC
Above is just an example, it can be done with PHP 5.6 as well. it's nice because you get type-hinting to write the requirements

Metadata

Metadata

Assignees

No one assigned

    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