gist/src/Gist/Form/ApiUpdateGistForm.php

26 lines
415 B
PHP

<?php
namespace Gist\Form;
/**
* Class ApiUpdateGistForm.
*
* @author Simon Vieille <simon@deblan.fr>
*/
class ApiUpdateGistForm extends ApiCreateGistForm
{
/**
* {@inheritdoc}
*/
public function build(array $options = array())
{
parent::build($options);
$this->builder
->remove('title')
->remove('type');
return $this->builder;
}
}