Skip to content

Make SlotMachine class a Stack middleware #16

Description

@adamelso

At the moment the Symfony request is either injected into the constructor or a new one is created from globals by default. https://github.com/archfizz/slotmachine/blob/master/src/SlotMachine/SlotMachine.php#L66

It would be better to implement HttpKernelInterface and handle the request instead.

This would also make it Stack compliant.

http://stackphp.com/

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions