private function hydrate()
    {
        /*
         * count
         */
        $query = clone $this->query;

        foreach (array('orders', 'limit', 'offset') as $field) {
            $query->getQuery()->{$field} = null;
        }

        $this->total = $query->count();

        /*
         * entries
         */
        $query = clone $this->query;
        $this->entries = $query->get();

        $this->items = $this->entries->all();
    }
private function hydrate()
    {
        /*
         * count
         */
        $query = clone $this->query;

        foreach (array('orders', 'limit', 'offset') as $field) {
            $query->getQuery()->{$field} = null;
        }

        $this->total = $query->count();

        /*
         * entries
         */
        $query = clone $this->query;
        $this->entries = $query->get();

        $this->items = $this->entries->all();
    }
private function hydrate ( ) { /*
         * count
         */ $ query = clone $ this -> query ; foreach ( array ( 'orders' , 'limit' , 'offset' ) as $ field ) { $ query -> getQuery ( ) -> { $ field } = null ; } $ this -> total = $ query -> count ( ) ; /*
         * entries
         */ $ query = clone $ this -> query ; $ this -> entries = $ query -> get ( ) ; $ this -> items = $ this -> entries -> all ( ) ; }
Hydrate the datas.
Hydrate the datas .