original_string: protected function _truncate()
      {
          if (!$this->getLimit()->isNull()) {
              if (is_null($this->getLimit()->getCount())) {
                  $this->_output = array_splice($this->_output, $this->getLimit()->getStart());
              } else {
                  $this->_output = array_splice($this->_output, $this->getLimit()->getStart(), $this->getLimit()->getCount());
              }
          }
      }
code: protected function _truncate()
      {
          if (!$this->getLimit()->isNull()) {
              if (is_null($this->getLimit()->getCount())) {
                  $this->_output = array_splice($this->_output, $this->getLimit()->getStart());
              } else {
                  $this->_output = array_splice($this->_output, $this->getLimit()->getStart(), $this->getLimit()->getCount());
              }
          }
      }
code_tokens: protected function _truncate ( ) { if ( ! $ this -> getLimit ( ) -> isNull ( ) ) { if ( is_null ( $ this -> getLimit ( ) -> getCount ( ) ) ) { $ this -> _output = array_splice ( $ this -> _output , $ this -> getLimit ( ) -> getStart ( ) ) ; } else { $ this -> _output = array_splice ( $ this -> _output , $ this -> getLimit ( ) -> getStart ( ) , $ this -> getLimit ( ) -> getCount ( ) ) ; } } }
docstring: Simply splice the array
docstring_tokens: Simply splice the array