public function getMutualRules()
    {
        $rules = [];
        if (is_string($this->otherGuidAttribute)) {
            $rules = [
                [$this->otherGuidAttribute, 'required'],
                [$this->otherGuidAttribute, 'string', 'max' => 16],
            ];
        }
        return $rules;
    }
public function getMutualRules()
    {
        $rules = [];
        if (is_string($this->otherGuidAttribute)) {
            $rules = [
                [$this->otherGuidAttribute, 'required'],
                [$this->otherGuidAttribute, 'string', 'max' => 16],
            ];
        }
        return $rules;
    }
public function getMutualRules ( ) { $ rules = [ ] ; if ( is_string ( $ this -> otherGuidAttribute ) ) { $ rules = [ [ $ this -> otherGuidAttribute , 'required' ] , [ $ this -> otherGuidAttribute , 'string' , 'max' => 16 ] , ] ; } return $ rules ; }
Get mutual attributes rules.
@return array
Get mutual attributes rules .