original_string: public function concat($name, $value = null, $mode = ViewBlock::APPEND)
      {
          if ($value === null) {
              $this->start($name, $mode);
  
              return;
          }
  
          if (!isset($this->_blocks[$name])) {
              $this->_blocks[$name] = '';
          }
          if ($mode === ViewBlock::PREPEND) {
              $this->_blocks[$name] = $value . $this->_blocks[$name];
          } else {
              $this->_blocks[$name] .= $value;
          }
      }
code: public function concat($name, $value = null, $mode = ViewBlock::APPEND)
      {
          if ($value === null) {
              $this->start($name, $mode);
  
              return;
          }
  
          if (!isset($this->_blocks[$name])) {
              $this->_blocks[$name] = '';
          }
          if ($mode === ViewBlock::PREPEND) {
              $this->_blocks[$name] = $value . $this->_blocks[$name];
          } else {
              $this->_blocks[$name] .= $value;
          }
      }
code_tokens: public function concat ( $ name , $ value = null , $ mode = ViewBlock :: APPEND ) { if ( $ value === null ) { $ this -> start ( $ name , $ mode ) ; return ; } if ( ! isset ( $ this -> _blocks [ $ name ] ) ) { $ this -> _blocks [ $ name ] = '' ; } if ( $ mode === ViewBlock :: PREPEND ) { $ this -> _blocks [ $ name ] = $ value . $ this -> _blocks [ $ name ] ; } else { $ this -> _blocks [ $ name ] .= $ value ; } }
docstring: Concat content to an existing or new block.
  Concating to a new block will create the block.
  
  Calling concat() without a value will create a new capturing
  block that needs to be finished with View::end(). The content
  of the new capturing context will be added to the existing block context.
  
  @param string $name Name of the block
  @param mixed $value The content for the block. Value will be type cast
  to string.
  @param string $mode If ViewBlock::APPEND content will be appended to existing content.
  If ViewBlock::PREPEND it will be prepended.
  @return void
docstring_tokens: Concat content to an existing or new block . Concating to a new block will create the block .