Skip to content

Commit

Permalink
Merge pull request #108 from AlexKovalevych/twig-1-fix
Browse files Browse the repository at this point in the history
add support for twig 1
  • Loading branch information
endroid authored May 22, 2017
2 parents ceb30de + 4cf3366 commit 80beb5a
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 80beb5a

Please sign in to comment.