src/Services/Finder.php
public function getQuery()
    {
        // prevent duplicated execution
        if (null === $this->query && $this->model) {
            $this->initQuery()
                 ->applyFilters()
                 ->applySorting();

            $this->query = $this->assembler()->getQuery();
        }

        return $this->query;
    }
public function getQuery()
    {
        // prevent duplicated execution
        if (null === $this->query && $this->model) {
            $this->initQuery()
                 ->applyFilters()
                 ->applySorting();

            $this->query = $this->assembler()->getQuery();
        }

        return $this->query;
    }
public function getQuery ( ) { // prevent duplicated execution if ( null === $ this -> query && $ this -> model ) { $ this -> initQuery ( ) -> applyFilters ( ) -> applySorting ( ) ; $ this -> query = $ this -> assembler ( ) -> getQuery ( ) ; } return $ this -> query ; }
Build Scaffolding Index page query.

@return mixed
Build Scaffolding Index page query .