в
Size: a a a
в
в
q
в
q
в
в
S
$file = new File();
$file->setName($filename);
$file->setSize($uploadedFile->getSize());
$this->em->getConnection()->beginTransaction();
$this->em->persist($file);
$this->em->flush();
try {
$uploadedFile->move($this->getTargetDirectory(), $file->getId());
$this->em->getConnection()->commit();
} catch (FileException $e) {
$this->em->getConnection()->rollBack();
throw $e;
}
q
в
q
q
q
SZ
IM
expr()
сравнивать со строкой, без мракобесия с кастомными кавычками?)IM