0
내가 CLASSE FicheController에서 평가 법인을 만들려면, 그래서 난 다음다른 네임 스페이스에 "사용"문을 잊어 버렸습니까?
use Polytech\SkillsBundle\Entity\SousOccasion;
use Polytech\SkillsBundle\Entity\Evaluation;
use Polytech\SkillsBundle\Entity\EvaluationCompetence;
.....
및 사용 :
$evaluation = new Evaluation();
을하지만 난이 오류를
Attempted to load class "Evaluation" from namespace "Polytech\SkillsBundle\Controller".
Did you forget a "use" statement for another namespace?
'Evaluation'과'FicheController'는 어떤 네임 스페이스에 속합니까? –
FicheController는 네임 스페이스 Polytech \ SkillsBundle \ Controller에 속해 있습니다. 평가는 ue Polytech \ SkillsBundle \ Entity에 속합니다. –
평가 등급을 표시 할 수 있습니까? 특히 클래스 이름에서 맞춤법 오류를 확인하십시오. – ehymel