public function data($toString = false) { $data = array($this->val(), $this->getRule()); return $toString ? implode(' ', $data) : $data; }