我有有史以来最简单的代码,我不明白为什么我会得到这个错误。我只想创建一个表单来创建一个新的电子邮件消息..。它看起来很简单,但却不起作用.cache\dev\twig\e4\61\15c5455e50341edc1387cde083d07297f9c2cb3fe9cf4782bd2ed3ead531.php line 172<?php * Created by PhpStorm.string public function ge
我用Symfony2开发了一个应用程序,但我遇到了问题。我有User实体类,在这个类中我有:* @ORM\OneToOne(targetEntity="UserProperty", mappedBy="user")protected $propertiesCollections\Collection public function getProperties() return $this->properties;在Use