slim-twig-flash
slim-twig-flash copied to clipboard
Extension does not added to slim/twig-view ^3.0
Slim 4 with slim/twig-view ^3.0
$twig->addExtension(new Knlv\Slim\Views\TwigMessages(new Slim\Flash\Messages()));
Error: Expected Twig\Extension\ExtensionInterface, got Knlv\Slim\Views\TwigMessages
Same here, did anybody fix this? Slim4