PHP code example of thecodingmachine / psr-6-doctrine-bridge-universal-module

1. Go to this page and download the library: Download thecodingmachine/psr-6-doctrine-bridge-universal-module library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

thecodingmachine / psr-6-doctrine-bridge-universal-module example snippets


use Doctrine\Common\Cache\CacheProvider;

$cachePool = $container->get(CacheProvider::class);
echo $cachePool->get('my_cached_value');