PHP code example of riskio / tactician-module
1. Go to this page and download the library: Download riskio/tactician-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/ */
riskio / tactician-module example snippets
use League\Tactician\Handler\CommandNameExtractor\ClassNameExtractor;
use League\Tactician\Handler\Locator\InMemoryLocator;
use League\Tactician\Handler\MethodNameInflector\InvokeInflector;
return [
'tactician' => [
'handler' => [
'command_name_extractor' => ClassNameExtractor::class,
'locator' => InMemoryLocator::class,
'method_name_inflector' => InvokeInflector::class,
],
'middlewares' => [],
'command_map' => [],
],
];