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
| <?php | |
| namespace AppBundle\Repository; | |
| use AppBundle\Entity\Country; | |
| use AppBundle\Entity\CountryTranslation; | |
| use Doctrine\ORM\EntityRepository; | |
| use Doctrine\ORM\Query\ResultSetMapping; | |
| use Doctrine\ORM\QueryBuilder; |
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
| <?php | |
| $ftp = new League\Flysystem\Filesystem(new League\Flysystem\Adapter\Ftp($settings)); | |
| $local = new League\Flysystem\Filesystem(new League\Flysystem\Adapter\Local($path)); | |
| $local->write($destination, $ftp->read($source)); |
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
| <?php | |
| use Doctrine\ORM\Mapping as ORM; | |
| use Doctrine\Common\Collections\ArrayCollection; | |
| /** | |
| * @ORM\Entity() | |
| * @ORM\Table(name="user") | |
| */ | |
| class User |