Skip to content

Commit 4cd9186

Browse files
authored
Merge pull request #1 from DevNet-Framework/1.0
1.0
2 parents 0d905eb + 5f7979b commit 4cd9186

File tree

139 files changed

+304
-398
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

139 files changed

+304
-398
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023 DevNet Framework
3+
Copyright (c) DevNet Framework
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "devnet/web",
3-
"description": "The DevNet Web Components",
2+
"name": "devnet/framework",
3+
"description": "The DevNet Web Framework",
44
"type": "library",
55
"license": "MIT",
66
"authors": [

global.php

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

33
/**
44
* @author Mohammed Moussaoui
5-
* @copyright Copyright (c) Mohammed Moussaoui. All rights reserved.
6-
* @license MIT License. For full license information see LICENSE file in the project root.
5+
* @license MIT license. For more license information, see the LICENSE file in the root directory.
76
* @link https://github.com/DevNet-Framework
87
*/
98

lib/Exception/ExceptionHandlerMiddleware.php renamed to lib/Diagnostics/ExceptionHandlerMiddleware.php

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,11 @@
22

33
/**
44
* @author Mohammed Moussaoui
5-
* @copyright Copyright (c) Mohammed Moussaoui. All rights reserved.
6-
* @license MIT License. For full license information see LICENSE file in the project root.
5+
* @license MIT license. For more license information, see the LICENSE file in the root directory.
76
* @link https://github.com/DevNet-Framework
87
*/
98

10-
namespace DevNet\Web\Exception;
9+
namespace DevNet\Web\Diagnostics;
1110

1211
use DevNet\System\MethodTrait;
1312
use DevNet\Web\Http\HttpContext;
@@ -16,7 +15,7 @@
1615
use DevNet\Web\View\ViewManager;
1716
use Throwable;
1817

19-
use function Devnet\System\await;
18+
use function DevNet\System\await;
2019

2120
class ExceptionHandlerMiddleware implements IMiddleware
2221
{
File renamed without changes.

lib/Endpoint/ActionContext.php

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22

33
/**
44
* @author Mohammed Moussaoui
5-
* @copyright Copyright (c) Mohammed Moussaoui. All rights reserved.
6-
* @license MIT License. For full license information see LICENSE file in the project root.
5+
* @license MIT license. For more license information, see the LICENSE file in the root directory.
76
* @link https://github.com/DevNet-Framework
87
*/
98

109
namespace DevNet\Web\Endpoint;
1110

1211
use DevNet\System\PropertyTrait;
13-
use DevNet\Web\Endpoint\Binder\IValueProvider;
1412
use DevNet\Web\Http\HttpContext;
1513

1614
class ActionContext
@@ -19,7 +17,6 @@ class ActionContext
1917

2018
private ActionDescriptor $actionDescriptor;
2119
private HttpContext $httpContext;
22-
private IValueProvider $valueProvider;
2320

2421
public function get_ActionDescriptor(): ActionDescriptor
2522
{
@@ -31,15 +28,9 @@ public function get_HttpContext(): HttpContext
3128
return $this->httpContext;
3229
}
3330

34-
public function get_ValueProvider(): IValueProvider
35-
{
36-
return $this->valueProvider;
37-
}
38-
39-
public function __construct(ActionDescriptor $actionDescriptor, HttpContext $httpConnext, IValueProvider $provider)
31+
public function __construct(ActionDescriptor $actionDescriptor, HttpContext $httpConnext)
4032
{
4133
$this->actionDescriptor = $actionDescriptor;
42-
$this->httpContext = $httpConnext;
43-
$this->valueProvider = $provider;
34+
$this->httpContext = $httpConnext;
4435
}
4536
}

lib/Endpoint/ActionDelegate.php

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

33
/**
44
* @author Mohammed Moussaoui
5-
* @copyright Copyright (c) Mohammed Moussaoui. All rights reserved.
6-
* @license MIT License. For full license information see LICENSE file in the project root.
5+
* @license MIT license. For more license information, see the LICENSE file in the root directory.
76
* @link https://github.com/DevNet-Framework
87
*/
98

lib/Endpoint/ActionDescriptor.php

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

33
/**
44
* @author Mohammed Moussaoui
5-
* @copyright Copyright (c) Mohammed Moussaoui. All rights reserved.
6-
* @license MIT License. For full license information see LICENSE file in the project root.
5+
* @license MIT license. For more license information, see the LICENSE file in the root directory.
76
* @link https://github.com/DevNet-Framework
87
*/
98

lib/Endpoint/ActionFilterDelegate.php

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

33
/**
44
* @author Mohammed Moussaoui
5-
* @copyright Copyright (c) Mohammed Moussaoui. All rights reserved.
6-
* @license MIT License. For full license information see LICENSE file in the project root.
5+
* @license MIT license. For more license information, see the LICENSE file in the root directory.
76
* @link https://github.com/DevNet-Framework
87
*/
98

0 commit comments

Comments
 (0)