public function __construct($case) { $this->case = $case; $this->patterns = array(); $this->labels = array(); $this->regex = null; }