public function getStack($name, $default = null)
    {
        if (array_key_exists($name, $this->pushes)) {
            return $this->tintin->renderString(
                $this->pushes[$name],
                ['__tintin' => $this->tintin]
            );
        }

        return $default;
    }
public function getStack($name, $default = null)
    {
        if (array_key_exists($name, $this->pushes)) {
            return $this->tintin->renderString(
                $this->pushes[$name],
                ['__tintin' => $this->tintin]
            );
        }

        return $default;
    }
public function getStack ( $ name , $ default = null ) { if ( array_key_exists ( $ name , $ this -> pushes ) ) { return $ this -> tintin -> renderString ( $ this -> pushes [ $ name ] , [ '__tintin' => $ this -> tintin ] ) ; } return $ default ; }
Allows you to retrieve the contents of a stack

@param string $name
@param string $default

@return mixed|null
Allows you to retrieve the contents of a stack