Skip to content

Commit 8a4852c

Browse files
author
dj
committed
change namespace
1 parent 2f5a266 commit 8a4852c

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"autoload": {
2828
"psr-4": {
29-
"ZC\\": "src"
29+
"ZV\\": "src"
3030
}
3131
}
3232
}

example/function.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
*
1212
* @param bool $callback
1313
*
14-
* @return \ZC\ZView
14+
* @return \ZV\ZView
1515
*/
1616
function view($callback = FALSE) {
17-
$zview = new ZC\ZView([
17+
$zview = new ZV\ZView([
1818
'tpl_ext' => '.htm',
1919
'tpl_prefix' => 'tpl',
2020
'tmp_path' => __DIR__ . '/tmp/',
@@ -33,7 +33,7 @@ function view($callback = FALSE) {
3333
*
3434
* @param $resp
3535
*
36-
* @return \ZC\ZView
36+
* @return \ZV\ZView
3737
*/
3838
function swoole_view($resp) {
3939
return view(function (...$args) use ($resp) {

src/ZView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace ZC;
3+
namespace ZV;
44
/**
55
* Class ZView
66
* Author: dj

0 commit comments

Comments
 (0)