move bundle to root dir for inclusion in packagist refs #259

This commit is contained in:
2014-11-04 17:10:59 +01:00
parent b826d8e132
commit 8011746b26
100 changed files with 5243 additions and 823 deletions

52
Form/AdressType.php Normal file
View File

@@ -0,0 +1,52 @@
<?php
namespace Chill\CustomFieldsBundle\Form;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
/**
* @internal Ne fonctionne pas encore
*/
class AdressType extends AbstractType
{
/**
* @param FormBuilderInterface $builder
* @param array $options
*/
public function buildForm(FormBuilderInterface $builder, array $options)
{
$builder
->add('data', 'entity', array(
))
;
}
/**
* @param OptionsResolverInterface $resolver
*/
public function setDefaultOptions(OptionsResolverInterface $resolver)
{
// $resolver->setDefaults(array(
// 'data_class' => 'Chill\CustomFieldsBundle\Entity\Adress',
// 'class' => 'Chill\CustomFieldsBundle\Entity\Adress'
// ));
}
public function getParent()
{
return 'entity';
}
/**
* @return string
*/
public function getName()
{
return 'adress';
}
}