Skip to content

modernisation of the code #11

@flug

Description

@flug

I think you should make a Config class for parameter management that you could extend with an ArrayAccess to have a pseudo toArray().

Then you should put the equivalent of your http client in PSR-7 and PSR-18 so that the implementations / tests etc... are much simpler.

Do you know what I mean?

https://github.com/opencoconut/coconutphp/blob/master/src/Client.php#L14

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions