src/Extension/FluentExtension.php
public function augmentDataQueryCreation(SQLSelect $query, DataQuery $dataQuery)
    {
        $state = FluentState::singleton();
        $dataQuery
            ->setQueryParam('Fluent.Locale', $state->getLocale())
            ->setQueryParam('Fluent.IsFrontend', $state->getIsFrontend());
    }
public function augmentDataQueryCreation(SQLSelect $query, DataQuery $dataQuery)
    {
        $state = FluentState::singleton();
        $dataQuery
            ->setQueryParam('Fluent.Locale', $state->getLocale())
            ->setQueryParam('Fluent.IsFrontend', $state->getIsFrontend());
    }
public function augmentDataQueryCreation ( SQLSelect $ query , DataQuery $ dataQuery ) { $ state = FluentState :: singleton ( ) ; $ dataQuery -> setQueryParam ( 'Fluent.Locale' , $ state -> getLocale ( ) ) -> setQueryParam ( 'Fluent.IsFrontend' , $ state -> getIsFrontend ( ) ) ; }
Amend freshly created DataQuery objects with the current locale and frontend status

@param SQLSelect $query
@param DataQuery $dataQuery
Amend freshly created DataQuery objects with the current locale and frontend status