Current File : //var/www/vinorea/vendor/league/tactician/src/Handler/MethodNameInflector/InvokeInflector.php
<?php

namespace League\Tactician\Handler\MethodNameInflector;

/**
 * Handle command by calling the __invoke magic method. Handy for single
 * use classes or closures.
 */
class InvokeInflector implements MethodNameInflector
{
    /**
     * {@inheritdoc}
     */
    public function inflect($command, $commandHandler)
    {
        return '__invoke';
    }
}