original_string: 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')]
              );
          }
      }
code: 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')]
              );
          }
      }
code_tokens: 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' ) ] ) ; } }
docstring: Adds the pagination limits to the builder
docstring_tokens: Adds the pagination limits to the builder