22 lines
516 B
PHP
22 lines
516 B
PHP
<?php
|
|
|
|
namespace CoursEndingBundle\Model;
|
|
|
|
use CoursEndingBundle\Model\Base\Form as BaseForm;
|
|
use JMS\Serializer\Annotation\VirtualProperty;
|
|
use Propel\Runtime\ActiveQuery\Criteria;
|
|
use Propel\Runtime\Connection\ConnectionInterface;
|
|
|
|
class Form extends BaseForm
|
|
{
|
|
/**
|
|
* {@inheritdoc}
|
|
* @JMS\Serializer\Annotation\SerializedName("questions")
|
|
* @JMS\Serializer\Annotation\VirtualProperty
|
|
*/
|
|
public function getQuestionsRest()
|
|
{
|
|
return parent::getQuestions()->getData();
|
|
}
|
|
}
|