27 lines
444 B
PHP
27 lines
444 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('file')
|
|
->remove('type');
|
|
|
|
return $this->builder;
|
|
}
|
|
}
|