amphp/beanstalk

Add further commands

kelunik opened this issue · 11 comments

Mostly stats commands are missing I think. listTubes() is missing.

hi @kelunik. I can help you with this

Great!

@kelunik here you can find the PR #5

@kelunik seems can be closed

Yes, I think there are no more commands left, thanks again!

@zhikiri I've adjusted your PR, because it needs to return the correct types: cbf8cfa

I'm also reopening this issue, because listTubes() is still missing.

@kelunik but what about auto conversion for types ? When client will check $stats->job_running > 6 it will be converted from string to int automatically

and yes, list tubes is missing, your right

@zhikiri Yes, that mostly works, but it doesn't work with strict_types=1 or assertSame / ===.

@kelunik so true

Closing now due to #6 being merged. Thanks!