Nie wiem czy ja nie widzę błędu czy dokumentacja do Symfony 2 jest nie poprawna...
Przykład: tutaj.
Jest tam kod:
'em' => $this->getDoctrine()->getManager(), ));
A ja u siebie mam kod:
'em' => $this->getDoctrine()->getManager(), ));
Czy jest u mnie inaczej(po za nazwami) niż w dokumentacji ? Nie ? a wyskakuje mi błąd:
The option "em" does not exist. Known options are: "action", "attr", "auto_initialize", "block_name", "by_reference", "cascade_validation", "compound", "constraints", "data", "data_class", "disabled", "empty_data", "error_bubbling", "error_mapping", "extra_fields_message", "inherit_data", "invalid_message", "invalid_message_parameters", "label", "label_attr", "mapped", "max_length", "method", "pattern", "post_max_size_message", "property_path", "read_only", "required", "translation_domain", "trim", "validation_groups", "virtual"