id = $id; $this->url = $url; $this->enabled = $enabled; } /** * Supplies the ID of the approved directory. * * @return int */ public function get_id(): int { return $this->id; } /** * Supplies the approved directory URL. * * @return string */ public function get_url(): string { return $this->url; } /** * Indicates if this rule is enabled or not (rules can be temporarily disabled). * * @return bool */ public function is_enabled(): bool { return $this->enabled; } }