public function __construct($urlSafe = true, $strict = true) { $this->urlSafe = (bool) $urlSafe; $this->strict = (bool) $strict; }