Skip to content

Commit c770c76

Browse files
update
1 parent 9481e20 commit c770c76

File tree

10 files changed

+26
-26
lines changed

10 files changed

+26
-26
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
},
3535
"autoload": {
3636
"psr-4": {
37-
"Clover\\": "src/Clover/"
37+
"Clover\\Framework\\": "src/Framework/"
3838
}
3939
},
4040
"autoload-dev":{

src/Clover/Application.php

Lines changed: 0 additions & 11 deletions
This file was deleted.

src/Framework/Application.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
namespace Clover\Framework;
4+
5+
use Clover\Framework\Router\Router as Router;
6+
use Clover\Framework\Http\Request as Request;
7+
use Clover\Framework\Http\Response as Response;
8+
9+
final class Application {
10+
11+
}
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
declare(strict_types=1);
44

5-
namespace Clover;
5+
namespace Clover\Framework;
66

7-
use Clover\Router\Router;
7+
use Clover\Framework\Router\Router;
88
use Dotenv\Dotenv;
9-
use Clover\Http\Response;
10-
use Clover\Http\Request;
9+
use Clover\Framework\Http\Response;
10+
use Clover\Framework\Http\Request;
1111

1212
class Clover
1313
{
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace Clover\Http;
5+
namespace Clover\Framework\Http;
66

7-
use Clover\Interfaces\RequestInterface;
7+
use Clover\Framework\Interfaces\RequestInterface;
88

99
final class Request implements RequestInterface
1010
{
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
declare(strict_types=1);
44

5-
namespace Clover\Http;
5+
namespace Clover\Framework\Http;
66

7-
use Clover\Interfaces\ResponseInterface;
7+
use Clover\Framework\Interfaces\ResponseInterface;
88

99
final class Response implements ResponseInterface
1010
{

src/Clover/Interfaces/RequestInterface.php renamed to src/Framework/Interfaces/RequestInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Clover\Interfaces;
5+
namespace Clover\Framework\Interfaces;
66

77
interface RequestInterface
88
{

src/Clover/Interfaces/ResponseInterface.php renamed to src/Framework/Interfaces/ResponseInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
declare(strict_types=1);
44

5-
namespace Clover\Interfaces;
5+
namespace Clover\Framework\Interfaces;
66

77
interface ResponseInterface
88
{
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22

33
declare(strict_types=1);
44

5-
namespace Clover\Router;
5+
namespace Clover\Framework\Router;
66

7-
use Clover\Http\Request;
8-
use Clover\Http\Response;
7+
use Clover\Framework\Http\Request;
8+
use Clover\Framework\Http\Response;
99

1010
final class Router
1111
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Clover\Utils;
2+
namespace Clover\Framework\Utils;
33

44
final class Validation
55
{

0 commit comments

Comments
 (0)