php-subscriber
php-subscriber copied to clipboard
No setters for protected arguments
Seems to be no way to set lease_seconds, verify etc.??
Suggestion: Add an $options array to the constructor and extract the optional values from there:
public function __construct($hub_url, $callback_url, $credentials = false, $options = [])
$this->lease_seconds = isset($options['lease_seconds']) ? $options['lease_seconds'] : null;
...