public function dump($obj)
    {
        if (is_array($obj) || is_object($obj)) {
            $obj = print_r($obj, true);
        }

        $this->append('<pre>' .  htmlentities($obj, ENT_QUOTES) . "</pre><br />\n");

        return $this;
    }
public function dump($obj)
    {
        if (is_array($obj) || is_object($obj)) {
            $obj = print_r($obj, true);
        }

        $this->append('<pre>' .  htmlentities($obj, ENT_QUOTES) . "</pre><br />\n");

        return $this;
    }
public function dump ( $ obj ) { if ( is_array ( $ obj ) || is_object ( $ obj ) ) { $ obj = print_r ( $ obj , true ) ; } $ this -> append ( '<pre>' . htmlentities ( $ obj , ENT_QUOTES ) . "</pre><br />\n" ) ; return $ this ; }
Dump a variable

@param mixed $obj    The variable to dump
@return Response
Dump a variable