24 lines
562 B
PHP
24 lines
562 B
PHP
<?php
|
||
|
||
namespace Deblan\Bundle\BlogBundle\Form\Type;
|
||
|
||
use Propel\PropelBundle\Form\BaseAbstractType;
|
||
use Symfony\Component\Form\FormBuilderInterface;
|
||
|
||
class PostHasCategoryType extends BaseAbstractType
|
||
{
|
||
protected $options = array(
|
||
'data_class' => 'Deblan\Bundle\BlogBundle\Model\PostHasCategory',
|
||
'name' => 'posthascategory',
|
||
);
|
||
|
||
/**
|
||
* {@inheritdoc}
|
||
*/
|
||
public function buildForm(FormBuilderInterface $builder, array $options)
|
||
{
|
||
$builder->add('createdAt');
|
||
$builder->add('updatedAt');
|
||
}
|
||
}
|