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
It can be resolved by changing constructor like this to retain passed config variable
public function __construct(array $config = null) { // Store config values self::$config = $config; // Set up params with user defined or default values self::$workers = $config['workers'] ?? 0; self::$host = $config['host'] ?? '0.0.0.0'; self::$port = $config['port'] ?? 80; self::$debug = $config['debug'] ?? false; self::$logger = $config['logger'] ?? null; self::$container = $config['container'] ?? null; .....
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It can be resolved by changing constructor like this to retain passed config variable
public function __construct(array $config = null)
{
// Store config values
self::$config = $config;
// Set up params with user defined or default values
self::$workers = $config['workers'] ?? 0;
self::$host = $config['host'] ?? '0.0.0.0';
self::$port = $config['port'] ?? 80;
self::$debug = $config['debug'] ?? false;
self::$logger = $config['logger'] ?? null;
self::$container = $config['container'] ?? null;
.....
The text was updated successfully, but these errors were encountered: