Symfony Tools

Symfony Tools Symfony http://symfony.com/doc/2.4/index.html Composer https://getcomposer.org/doc/03-cli.md Doctrine http://docs.doctrine-project.org/en/latest/ MySql https://dev.mysql.com/doc/

Read more

Symfony From Select input

use Acme\YourBundle\Entity\Usertype; class LoginForm extends AbstractType { public function buildForm(FormBuilder $builder, array $options) { $builder->add(‘usertype’, ‘entity’, array( ‘class’ => ‘AcmeYourBundle:Usertype’ ‘label’ => ‘User Type’, )

Read more

Doctrine Memo

# générer les getters / setter d’une entité php app/console doctrine:generate:entities Kitpages\CmsBundle # récupérer le code SQL pour la création d’un schéma php app/console doctrine:schema:create

Read more
1 2 3 5