final protected function getMergedWithUniquenessOnDemand(array $rules, $message)
    {
        if (!is_null($this->uniqueness)) {
            $rules['Unique'] = array(
                'value' => $this->uniqueness,
                'message' => $message
            );
        }

        return $rules;
    }
final protected function getMergedWithUniquenessOnDemand(array $rules, $message)
    {
        if (!is_null($this->uniqueness)) {
            $rules['Unique'] = array(
                'value' => $this->uniqueness,
                'message' => $message
            );
        }

        return $rules;
    }
final protected function getMergedWithUniquenessOnDemand ( array $ rules , $ message ) { if ( ! is_null ( $ this -> uniqueness ) ) { $ rules [ 'Unique' ] = array ( 'value' => $ this -> uniqueness , 'message' => $ message ) ; } return $ rules ; }
Returns a rules result-set with merged "Unique" constraint on demand

@param array $rules Initial set of validation rules
@param string $message The message to be display on failure
@return array
Returns a rules result - set with merged Unique constraint on demand