gist/src/Gist/Form/ApiUpdateGistForm.php

26 lines
415 B
PHP
Raw Normal View History

2015-11-07 22:13:08 +01:00
<?php
namespace Gist\Form;
/**
2016-11-13 00:44:23 +01:00
* Class ApiUpdateGistForm.
*
2015-11-07 22:13:08 +01:00
* @author Simon Vieille <simon@deblan.fr>
*/
class ApiUpdateGistForm extends ApiCreateGistForm
{
2016-11-13 00:44:23 +01:00
/**
* {@inheritdoc}
*/
2015-11-07 22:13:08 +01:00
public function build(array $options = array())
{
parent::build($options);
$this->builder
->remove('title')
->remove('type');
return $this->builder;
}
}