src/DreamCommerce/ShopAppstoreLib/Resource.php
public function limit($count)
    {
        if($count<1 || $count>50){
            throw new \RuntimeException('Limit beyond 1-50 range', ResourceException::LIMIT_BEYOND_RANGE);
        }

        $this->limit = $count;

        return $this;
    }
public function limit($count)
    {
        if($count<1 || $count>50){
            throw new \RuntimeException('Limit beyond 1-50 range', ResourceException::LIMIT_BEYOND_RANGE);
        }

        $this->limit = $count;

        return $this;
    }
public function limit ( $ count ) { if ( $ count < 1 || $ count > 50 ) { throw new \ RuntimeException ( 'Limit beyond 1-50 range' , ResourceException :: LIMIT_BEYOND_RANGE ) ; } $ this -> limit = $ count ; return $ this ; }
set records limit
@param int $count collection's items limit in range 1-50
@return $this
@throws \RuntimeException
set records limit