protected function validateSame($attribute, $value, $parameters) { $this->requireParameterCount(1, $parameters, 'same'); $other = array_get($this->data, $parameters[0]); return isset($other) && $value === $other; }