Skip to content

Make SlotMachine class a Stack middleware #16

@adamelso

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/

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