PHP code example of ticaje / hexagonal
1. Go to this page and download the library: Download ticaje/hexagonal 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/ */
ticaje / hexagonal example snippets
$this->app->when(ConsumerController::class)
->needs(ImplementorInterface::class)
->give(function ($app) {
return ($app->make(Tactician::class));
});