public function with(array $data) : SmartyView
    {
        foreach ($data as $k => $v) {
            $this->smarty->assign($k, $v);
        }

        return $this;
    }
public function with(array $data) : SmartyView
    {
        foreach ($data as $k => $v) {
            $this->smarty->assign($k, $v);
        }

        return $this;
    }
public function with ( array $ data ) : SmartyView { foreach ( $ data as $ k => $ v ) { $ this -> smarty -> assign ( $ k , $ v ) ; } return $ this ; }
Assigns data to Smarty
@param array $data
@return SmartyView
@since 1.0.0
Assigns data to Smarty