Skip to content

Commit

Permalink
add support for twig 1
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexKovalevych committed May 22, 2017
1 parent ceb30de commit 4cf3366
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Twig/Extension/QrCodeExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,9 @@ public function qrcodeDataUriFunction($text, array $options = [])

throw new UnsupportedExtensionException('Extenstion '.$extension.' is not supported by any of the writers');
}

public function getName()
{
return 'qrcode';
}
}

0 comments on commit 4cf3366

Please sign in to comment.