public function setObject(\Smarty $object = null)
    {
        $this->object = $object ? $object : new \Smarty();

        return $this;
    }
public function setObject(\Smarty $object = null)
    {
        $this->object = $object ? $object : new \Smarty();

        return $this;
    }
public function setObject ( \ Smarty $ object = null ) { $ this -> object = $ object ? $ object : new \ Smarty ( ) ; return $ this ; }
Set Smarty object

@param \Smarty $object
@return Smarty
Set Smarty object