     1  2  3  4  5  6  7  8  9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

    <?php
    /**
     * @type Page
     *
     * Use page when directly
     * accessing models lists
     *
     * TODO: this is intended to be an iterative
     * check agaisnt the page
     */

    namespace Catapult;
    final class Page extends Types {
        public function __construct($page=DEFAULTS::PAGE_SIZE)
        {
          $this->page = $page;
        }

        public function __toString()
        {
          return (string) $this->page;
        }
    }