public function rule_before($a) { $time = $this->pullRule(); if (strtotime($a) >= strtotime($time)) { return $this->fail('Must be before {{arg1}}', $time); } }