public function output($name, $default = false)
    {
        if (!isset($this->slots[$name])) {
            if (false !== $default) {
                echo $default;

                return true;
            }

            return false;
        }

        echo $this->slots[$name];

        return true;
    }
public function output($name, $default = false)
    {
        if (!isset($this->slots[$name])) {
            if (false !== $default) {
                echo $default;

                return true;
            }

            return false;
        }

        echo $this->slots[$name];

        return true;
    }
public function output ( $ name , $ default = false ) { if ( ! isset ( $ this -> slots [ $ name ] ) ) { if ( false !== $ default ) { echo $ default ; return true ; } return false ; } echo $ this -> slots [ $ name ] ; return true ; }
Outputs a slot.

@param string      $name    The slot name
@param bool|string $default The default slot content

@return bool true if the slot is defined or if a default content has been provided, false otherwise
Outputs a slot .