protected function matches($other) { $this->validator->check($other, $this->specObject); return $this->validator->isValid(); }