We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PushApi::log() is static and it requires SLIM container from self::$container to run: https://github.com/watzenare/PushApi/blob/master/PushApi/PushApi.php#L190
self::$container
The problem is, that self::$container is filled by __construct which means that it won't be set when you fire PushApi::log() https://github.com/watzenare/PushApi/blob/master/PushApi/PushApi.php#L51
__construct
PushApi::log()
I made this hack to make it work, but it's just that, a hack:
if ($app == null) { echo $level . " - " . $message . "\n"; return; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
PushApi::log() is static and it requires SLIM container from
self::$container
to run:https://github.com/watzenare/PushApi/blob/master/PushApi/PushApi.php#L190
The problem is, that
self::$container
is filled by__construct
which means that it won't be set when you firePushApi::log()
https://github.com/watzenare/PushApi/blob/master/PushApi/PushApi.php#L51
I made this hack to make it work, but it's just that, a hack:
The text was updated successfully, but these errors were encountered: