src/Media.php
public function scopeInOrUnderDirectory(Builder $q, $disk, $directory)
    {
        $q->inDirectory($disk, $directory, true);
    }
public function scopeInOrUnderDirectory(Builder $q, $disk, $directory)
    {
        $q->inDirectory($disk, $directory, true);
    }
public function scopeInOrUnderDirectory ( Builder $ q , $ disk , $ directory ) { $ q -> inDirectory ( $ disk , $ directory , true ) ; }
Query scope for finding media in a particular directory or one of its subdirectories.
@param  \Illuminate\Database\Eloquent\Builder  $q
@param  string                                 $disk      Filesystem disk to search in
@param  string                                 $directory Path relative to disk
@return void
Query scope for finding media in a particular directory or one of its subdirectories .