protected function addLimits()
    {
        if (isset($_POST[static::$versionTransformer->transform(
                    'start'
                )]) && $_POST[static::$versionTransformer->transform('length')] != '-1'
        ) {
            $this->builder->skip((int)$_POST[static::$versionTransformer->transform('start')])->take(
                (int)$_POST[static::$versionTransformer->transform('length')]
            );
        }
    }
protected function addLimits()
    {
        if (isset($_POST[static::$versionTransformer->transform(
                    'start'
                )]) && $_POST[static::$versionTransformer->transform('length')] != '-1'
        ) {
            $this->builder->skip((int)$_POST[static::$versionTransformer->transform('start')])->take(
                (int)$_POST[static::$versionTransformer->transform('length')]
            );
        }
    }
protected function addLimits ( ) { if ( isset ( $ _POST [ static :: $ versionTransformer -> transform ( 'start' ) ] ) && $ _POST [ static :: $ versionTransformer -> transform ( 'length' ) ] != '-1' ) { $ this -> builder -> skip ( ( int ) $ _POST [ static :: $ versionTransformer -> transform ( 'start' ) ] ) -> take ( ( int ) $ _POST [ static :: $ versionTransformer -> transform ( 'length' ) ] ) ; } }
Adds the pagination limits to the builder
Adds the pagination limits to the builder