src/Database/Models.php
public static function updateMorphMap($classNames = null)
    {
        if (is_null($classNames)) {
            $classNames = [
                static::classname(Role::class),
                static::classname(Ability::class),
            ];
        }

        Relation::morphMap($classNames);
    }
public static function updateMorphMap($classNames = null)
    {
        if (is_null($classNames)) {
            $classNames = [
                static::classname(Role::class),
                static::classname(Ability::class),
            ];
        }

        Relation::morphMap($classNames);
    }
public static function updateMorphMap ( $ classNames = null ) { if ( is_null ( $ classNames ) ) { $ classNames = [ static :: classname ( Role :: class ) , static :: classname ( Ability :: class ) , ] ; } Relation :: morphMap ( $ classNames ) ; }
Update Eloquent's morph map with the Bouncer models and tables.

@param  array|null  $classNames
@return void
Update Eloquent s morph map with the Bouncer models and tables .