Qrcode attribuer un attribu de mon entité.
Résolu
Frere_jesus
Messages postés
6
Date d'inscription
Statut
Membre
Dernière intervention
-
Frere_jesus Messages postés 6 Date d'inscription Statut Membre Dernière intervention -
Frere_jesus Messages postés 6 Date d'inscription Statut Membre Dernière intervention -
Bonsoir,
J'ai un projet symfony et j'aimerais enregistrer le codebare generé par mon application.
Mon souci est le suivant:
Voici mon code.
$options = array(
'code' => 'string to encode',
'type' => 'qrcode',
'format' => 'svg',
'width' => 10,
'height' => 10,
'color' => 'black',
);
$barcode =
$this->get('skies_barcode.generator')->generate($options);
Ce code m'affiche bien l'image.
j'aimerais associé a ce code un attribu de mon entité de tel en sorte que, quand je scan ce qrcode, il m'affiche l'attribut. merci d'avance.
J'ai un projet symfony et j'aimerais enregistrer le codebare generé par mon application.
Mon souci est le suivant:
Voici mon code.
$options = array(
'code' => 'string to encode',
'type' => 'qrcode',
'format' => 'svg',
'width' => 10,
'height' => 10,
'color' => 'black',
);
$barcode =
$this->get('skies_barcode.generator')->generate($options);
Ce code m'affiche bien l'image.
j'aimerais associé a ce code un attribu de mon entité de tel en sorte que, quand je scan ce qrcode, il m'affiche l'attribut. merci d'avance.