Created
January 9, 2018 16:50
-
-
Save ollo-ride-nico/c3a27084846679853d7d93ef8a050b51 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Je récupère mon champ image | |
foreach ($tricks as $form->getData()->getImage()){ | |
// Je récupère mon champ url | |
foreach ($form as $champ->getUrl()){ | |
//Je renomme mon champ url | |
$rename = $fileUploader->upload($champ); | |
} | |
} | |
$tricks->getData()->setImage($rename); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment