PHP code example of laminas / laminas-container-config-test
1. Go to this page and download the library: Download laminas/laminas-container-config-test 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/ */
laminas / laminas-container-config-test example snippets
protected function createContainer(array $config) : ContainerInterface;
use Laminas\ContainerConfigTest\AbstractMezzioContainerConfigTest;
use Laminas\ContainerConfigTest\SharedTestTrait;
class ContainerTest extends AbstractMezzioContainerConfigTest
{
use SharedTestTrait;
protected function createContainer(array $config) : ContainerInterface
{
// your container configuration
}
}