瀏覽代碼

removed old file

Fabien Potencier 14 年之前
父節點
當前提交
390c54c60b
共有 1 個文件被更改,包括 0 次插入73 次删除
  1. 0 73
      Step/DumbStep.php

+ 0 - 73
Step/DumbStep.php

@@ -1,73 +0,0 @@
-<?php
-
-/*
- * This file is part of the Symfony package.
- *
- * (c) Fabien Potencier <fabien@symfony.com>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Symfony\Bundle\WebConfiguratorBundle\Step;
-
-use Symfony\Component\Form\FormContext;
-use Symfony\Bundle\WebConfiguratorBundle\Form\DoctrineForm;
-use Symfony\Bundle\WebConfiguratorBundle\Exception\StepRequirementException;
-
-/**
- * Csrf Step.
- *
- * @author Marc Weistroff <marc.weistroff@sensio.com>
- */
-class CsrfStep implements StepInterface
-{
-    /**
-     * @validation:NotBlank
-     */
-    public $csrf_secret;
-
-    public function __construct(array $parameters)
-    {
-        $this->csrf_secret = $parameters['csrf_secret'];
-    }
-
-    /**
-     * @see StepInterface
-     */
-    public function getName()
-    {
-        return 'CSRF';
-    }
-
-    /**
-     * @see StepInterface
-     */
-    public function getForm(FormContext $context)
-    {
-        return CsrfForm::create($context, 'config');
-    }
-
-    /**
-     * @see StepInterface
-     */
-    public function checkRequirements()
-    {
-    }
-
-    /**
-     * @see StepInterface
-     */
-    public function update(StepInterface $data)
-    {
-        return array('csrf_secret' => $data->csrf_secret);
-    }
-
-    /**
-     * @see StepInterface
-     */
-    public function getTemplate()
-    {
-        return 'SymfonyWebConfiguratorBundle:Step:csrf.html.twig';
-    }
-}