public function __construct()
{
$this->recipes = new InMemoryRecipes();
$recipeFactory = new DomainFactory();
$commandHandlerMiddleware = new CommandHandlerMiddleware(new ClassNameExtractor(), new InMemoryLocator([CreateNewRecipeCommand::class => new CreateNewRecipeHandler($this->recipes, $recipeFactory), AddRecipeStepCommand::class => new AddRecipeStepHandler($this->recipes), RemoveRecipeStepCommand::class => new RemoveRecipeStepHandler($this->recipes)]), new HandleInflector());
$this->commandBus = new Tactician(new CommandBus([$commandHandlerMiddleware]));
$this->slugGenerator = new SlugifyAdapter(new Slugify());
}