gist/src/Gist/Form/ApiCreateGistForm.php

24 lines
371 B
PHP
Raw Normal View History

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