src/ORM/PaginatedList.php
public function getTotalItems()
    {
        if ($this->totalItems === null) {
            $this->totalItems = count($this->list);
        }

        return $this->totalItems;
    }
public function getTotalItems()
    {
        if ($this->totalItems === null) {
            $this->totalItems = count($this->list);
        }

        return $this->totalItems;
    }
public function getTotalItems ( ) { if ( $ this -> totalItems === null ) { $ this -> totalItems = count ( $ this -> list ) ; } return $ this -> totalItems ; }
Returns the total number of items in the unpaginated list.

@return int
Returns the total number of items in the unpaginated list .