src/Peach/Markup/DefaultContext.php
public function handleCode(Code $code)
    {
        $text   = $code->getText();
        if (!strlen($text)) {
            return;
        }
        
        $lines  = Strings::getLines($text);
        $indent = $this->indent();
        $this->result .= $indent;
        $this->result .= implode($this->breakCode() . $indent, $lines);
    }
public function handleCode(Code $code)
    {
        $text   = $code->getText();
        if (!strlen($text)) {
            return;
        }
        
        $lines  = Strings::getLines($text);
        $indent = $this->indent();
        $this->result .= $indent;
        $this->result .= implode($this->breakCode() . $indent, $lines);
    }
Code を読み込みます.
@param Code $code