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