src/Renderer.php
public function yield(string $name): void
    {
        if (empty($this->sections[$name])) {
            // do nothing
        } else {
            echo $this->sections[$name];
        }
    }
public function yield(string $name): void
    {
        if (empty($this->sections[$name])) {
            // do nothing
        } else {
            echo $this->sections[$name];
        }
    }
public function yield ( string $ name ) : void { if ( empty ( $ this -> sections [ $ name ] ) ) { // do nothing } else { echo $ this -> sections [ $ name ] ; } }
Outputs the block captured by section+endsection.

@param string $name section name to be output
Outputs the block captured by section + endsection .