Top "Symfony" questions

Symfony refers to both a PHP framework for building web applications as well as a set of components on which the framework is built.

What is the difference between .yaml and .yml extension?

I read them on YAML-wikipedia but not really understood the main difference between them. I saw there are someone using .…

symfony yaml naming-conventions
Directly access a form field's value when overriding widget in a twig template

What I want to do is get variables stored in form view. {% form_theme edit_form _self %} {% block field_widget %} {% …

symfony twig
Use Limit and Offset in Doctrine2 query

I'm trying to do the pagination, but there is an error: [Syntax Error] line 0, col 57: Error: Expected end of string, …

symfony pagination doctrine-orm
Symfony2 file upload step by step

I am still learning Symfony2 and don't understand how to upload a file. Don't worry, I've already checked the documentation. …

file symfony doctrine-orm upload formbuilder
Set default value on Datetime field in symfony2 form

I have a form containing several fields. One of them is a Datetime field. How to define a default value …

php symfony symfony-2.1
Symfony2 Use Doctrine in Service Container

How do I use Doctrine in a service container? The Code just causes an error message "Fatal error: Call to …

doctrine symfony
Symfony2 doctrine clear cache

I need to clear my doctrine's cache in Symfony 2. There must be some way in command line for clear the …

php caching symfony doctrine
Generating a single Entity from existing database using symfony2 and doctrine

Is it possible to generate a single entity from database using the Symfony2 console tool? In the middle of coding …

php database symfony doctrine
symfony2 Catchable Fatal Error: Object of class could not be converted to string

I have this Entity defined: <?php namespace Apw\BlackbullBundle\Entity; use Doctrine\Common\Collections\ArrayCollection; use Doctrine\ORM\Mapping …

php symfony entity
Symfony2 and Doctrine - Error: Invalid PathExpression. Must be a StateFieldPathExpression

I have an entity that looks like this: /** * @Gedmo\Tree(type="nested") * @ORM\Table(name="categories") * @ORM\Entity() */ class Category …

symfony doctrine-orm dql