public function __construct(HandlerInterface $next = null) { $this->next = $next; }
/** * @param integer $max * @param HandlerInterface $handler */ public function __construct($max, HandlerInterface $handler = null) { $this->max = (int) $max; parent::__construct($handler); }