gist/src/Gist/Form/ApiCreateGistForm.php

26 lines
413 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);
2017-06-25 18:52:27 +02:00
$this->builder
->remove('cipher')
->remove('file');
2015-07-19 16:45:55 +02:00
return $this->builder;
}
}