src/Phossa/Query/Clause/LimitTrait.php
public function limit(/*# int */ $count, /*# int */ $offset = 0)
    {
        if ($count || $offset) {
            if (!empty($this->clause_limit)) {
                $this->clause_limit[0] = (int) $count;
            } else {
                $this->clause_limit = [(int) $count, (int) $offset];
            }
        }
        return $this;
    }
public function limit(/*# int */ $count, /*# int */ $offset = 0)
    {
        if ($count || $offset) {
            if (!empty($this->clause_limit)) {
                $this->clause_limit[0] = (int) $count;
            } else {
                $this->clause_limit = [(int) $count, (int) $offset];
            }
        }
        return $this;
    }
public function limit ( /*# int */ $ count , /*# int */ $ offset = 0 ) { if ( $ count || $ offset ) { if ( ! empty ( $ this -> clause_limit ) ) { $ this -> clause_limit [ 0 ] = ( int ) $ count ; } else { $ this -> clause_limit = [ ( int ) $ count , ( int ) $ offset ] ; } } return $ this ; }
{@inheritDoc}
{