public static function setRelations($modelOne, $modelTwo, $relations): void
    {
        $name = [$modelOne, $modelTwo];
        sort($name);
        $name = implode(':', $name);
        // create record in static variable
        self::$relations[$name] = $relations;
    }
public static function setRelations($modelOne, $modelTwo, $relations): void
    {
        $name = [$modelOne, $modelTwo];
        sort($name);
        $name = implode(':', $name);
        // create record in static variable
        self::$relations[$name] = $relations;
    }
public static function setRelations ( $ modelOne , $ modelTwo , $ relations ) : void { $ name = [ $ modelOne , $ modelTwo ] ; sort ( $ name ) ; $ name = implode ( ':' , $ name ) ; // create record in static variable self :: $ relations [ $ name ] = $ relations ; }
Setup multi relations

@param  string $modelOne
@param  string $modelTwo
@param  array  $relations

@return void
Setup multi relations