test
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
28e0d22aee
commit
2e93a246e2
|
@ -7,6 +7,7 @@
|
||||||
"php": ">=8.0.2",
|
"php": ">=8.0.2",
|
||||||
"ext-ctype": "*",
|
"ext-ctype": "*",
|
||||||
"ext-iconv": "*",
|
"ext-iconv": "*",
|
||||||
|
"ext-redis": "*",
|
||||||
"doctrine/annotations": "^1.13",
|
"doctrine/annotations": "^1.13",
|
||||||
"phpdocumentor/reflection-docblock": "^5.3",
|
"phpdocumentor/reflection-docblock": "^5.3",
|
||||||
"phpstan/phpdoc-parser": "^1.2",
|
"phpstan/phpdoc-parser": "^1.2",
|
||||||
|
|
|
@ -27,7 +27,6 @@ services:
|
||||||
Redis:
|
Redis:
|
||||||
# you can also use \RedisArray, \RedisCluster or \Predis\Client classes
|
# you can also use \RedisArray, \RedisCluster or \Predis\Client classes
|
||||||
class: \Redis
|
class: \Redis
|
||||||
public: true
|
|
||||||
calls:
|
calls:
|
||||||
- connect:
|
- connect:
|
||||||
- '%env(REDIS_HOST)%'
|
- '%env(REDIS_HOST)%'
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
use App\Kernel;
|
use App\Kernel;
|
||||||
|
use Redis;
|
||||||
|
$r = new Redis();
|
||||||
|
|
||||||
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
|
require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue