Flarum\Core\Post::scopeAllTypes PHP Метод

scopeAllTypes() публичный Метод

Get all posts, regardless of their type, by removing the RegisteredTypesScope global scope constraints applied on this model.
public scopeAllTypes ( Builder $query ) : Builder
$query Illuminate\Database\Eloquent\Builder
Результат Illuminate\Database\Eloquent\Builder
    public function scopeAllTypes(Builder $query)
    {
        return $this->removeGlobalScopes($query);
    }