1 | <?php |
||
26 | final class Base64ImageTwigExtension extends AbstractImageTwigExtension { |
||
27 | |||
28 | /** |
||
29 | * Service name. |
||
30 | * |
||
31 | * @var string |
||
32 | */ |
||
33 | const SERVICE_NAME = "webeweb.bundle.bootstrapbundle.twig.extension.image.base64"; |
||
34 | |||
35 | /** |
||
36 | * Constructor. |
||
37 | */ |
||
38 | public function __construct() { |
||
41 | |||
42 | /** |
||
43 | * Displays a Bootstrap base 64 image. |
||
44 | * |
||
45 | * @param array $args The arguments. |
||
46 | * @return string Returns the Bootstrap base 64 image. |
||
47 | */ |
||
48 | public function bootstrapBase64ImageFunction(array $args = []) { |
||
62 | |||
63 | /** |
||
64 | * Get the Twig functions. |
||
65 | * |
||
66 | * @return array Returns the Twig functions. |
||
67 | */ |
||
68 | public function getFunctions() { |
||
73 | |||
74 | } |
||
75 |