the
This commit is contained in:
@@ -12,7 +12,7 @@ Execute: `composer require mirzaev/minimal`
|
|||||||
## Usage
|
## Usage
|
||||||
*index.php*
|
*index.php*
|
||||||
```php
|
```php
|
||||||
// Initializing core
|
// Initializing the core
|
||||||
$core = new core(namespace: __NAMESPACE__);
|
$core = new core(namespace: __NAMESPACE__);
|
||||||
|
|
||||||
// Initializing routes
|
// Initializing routes
|
||||||
@@ -25,7 +25,7 @@ $core->router
|
|||||||
->write('/$categories', new route('categories', 'read'), 'GET') // Collector (since 0.3.0)
|
->write('/$categories', new route('categories', 'read'), 'GET') // Collector (since 0.3.0)
|
||||||
;
|
;
|
||||||
|
|
||||||
// Handling request
|
// Handling the request
|
||||||
$core->start();
|
$core->start();
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user