diff --git a/Extension/LambdaExtension.php b/LambdaExtension.php similarity index 98% rename from Extension/LambdaExtension.php rename to LambdaExtension.php index c8f2c34..3e19953 100644 --- a/Extension/LambdaExtension.php +++ b/LambdaExtension.php @@ -8,7 +8,7 @@ * file that was distributed with this source code. */ -namespace DPolac\TwigLambda\Extension; +namespace DPolac\TwigLambda; use Underscore\Types\Arrays; diff --git a/README.md b/README.md index 02dd3be..ac7efda 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ composer require dpolac/twig-lambda ### Add the extension to Twig: ```php -$twig->addExtension(new \DPolac\TwigLambda\Extension\LambdaExtension()); +$twig->addExtension(new \DPolac\TwigLambda\LambdaExtension()); ``` ---------------------------------------------------------------- diff --git a/Tests/IntegrationTest.php b/Tests/IntegrationTest.php index 99f18d0..453bc7b 100644 --- a/Tests/IntegrationTest.php +++ b/Tests/IntegrationTest.php @@ -2,7 +2,7 @@ namespace DPolac\TwigLambda\Tests; -use DPolac\TwigLambda\Extension\LambdaExtension; +use DPolac\TwigLambda\LambdaExtension; class IntegrationTest extends \Twig_Test_IntegrationTestCase {