Skip to content

modernisation of the code #11

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions