public function __construct(callable $hostAggregator = null) { $this->hostAggregator = $hostAggregator ?: ['\\Aerys\\Host', "getDefinitions"]; }