deepInside
deepInside

Reputation: 1

Symfony 2.0 with Propel as ORM - Creating Form Classes - The Type class does not exist

I already built a form object and then render it in a template inside controller. Now I am trying to build the form in a separate PHP class.

Based on the documentation, I have to create a method in the src/Acme/TaskBundle/Form/Type/TaskType.php.

But the problem is, I don't have the ../Form/Type/TaskType.php directories. I tried to do some work around such as create the method inside the Model class, but as expected, it failed.

Is the problem come during the Bundle creation? Or should I create the directories manually?

Upvotes: 0

Views: 223

Answers (1)

meze
meze

Reputation: 15087

Manually. It won't create all possible directories for you.

Upvotes: 1

Related Questions