public function __construct($max = 5) { $this->max = (int) $max; $this->collection = new ProcessCollection(); }