1
0
Fork 0
forked from deblan/gist
gist/src/Gist/Form/CloneGistForm.php

26 lines
405 B
PHP
Raw Permalink Normal View History

2015-05-07 14:10:23 +02:00
<?php
namespace Gist\Form;
/**
2016-11-13 00:44:23 +01:00
* Class CreateGistForm.
*
2015-05-07 14:10:23 +02:00
* @author Simon Vieille <simon@deblan.fr>
*/
2015-05-09 01:03:51 +02:00
class CloneGistForm extends CreateGistForm
2015-05-07 14:10:23 +02:00
{
2016-11-13 00:44:23 +01:00
/**
* {@inheritdoc}
*/
2015-05-07 14:10:23 +02:00
public function build(array $options = array())
{
2015-05-09 01:03:51 +02:00
parent::build($options);
2015-05-07 14:10:23 +02:00
2015-05-09 01:03:51 +02:00
$this->builder->remove('cipher');
2015-05-07 14:10:23 +02:00
2015-05-09 01:09:08 +02:00
$this->builder->remove('type');
2015-05-09 01:03:51 +02:00
return $this->builder;
2015-05-07 14:10:23 +02:00
}
}