src/Traits/Mediables.php
public function mediables()
    {
        return $this->morphToMany(
            config('media.model', \Routegroup\Media\File::class),
            'mediables',
            null,
            null,
            'media_id'
        )->withTimestamps();
    }
public function mediables()
    {
        return $this->morphToMany(
            config('media.model', \Routegroup\Media\File::class),
            'mediables',
            null,
            null,
            'media_id'
        )->withTimestamps();
    }
public function mediables ( ) { return $ this -> morphToMany ( config ( 'media.model' , \ Routegroup \ Media \ File :: class ) , 'mediables' , null , null , 'media_id' ) -> withTimestamps ( ) ; }
Model for image.

@return \Illuminate\Database\Eloquent\Relations\MorphToMany
Model for image .