Development

/branches/1.1/lib/request/sfConsoleRequest.class.php

You must first sign up to be able to contribute.

root/branches/1.1/lib/request/sfConsoleRequest.class.php

Revision 9098, 1.3 kB (checked in by FabianLange, 6 years ago)

1.1: fixed @param phpdoc to fit specs in request (refs #2991)

  • Property svn:mime-type set to text/x-php
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id Rev Date
Line 
1 <?php
2
3 /*
4  * This file is part of the symfony package.
5  * (c) 2004-2006 Fabien Potencier <fabien.potencier@symfony-project.com>
6  * (c) 2004-2006 Sean Kerr <sean@code-box.org>
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 /**
13  *
14  * @package    symfony
15  * @subpackage request
16  * @author     Fabien Potencier <fabien.potencier@symfony-project.com>
17  * @author     Sean Kerr <sean@code-box.org>
18  * @version    SVN: $Id$
19  */
20 class sfConsoleRequest extends sfRequest
21 {
22   /**
23    * Initializes this sfRequest.
24    *
25    * @param  sfEventDispatcher $dispatcher  An sfEventDispatcher instance
26    * @param  array             $parameters  An associative array of initialization parameters
27    * @param  array             $attributes  An associative array of initialization attributes
28    *
29    * @return bool true, if initialization completes successfully, otherwise false
30    *
31    * @throws <b>sfInitializationException</b> If an error occurs while initializing this sfRequest
32    */
33   public function initialize(sfEventDispatcher $dispatcher, $parameters = array(), $attributes = array())
34   {
35     parent::initialize($dispatcher, $parameters, $attributes);
36
37     $this->getParameterHolder()->add($_SERVER['argv']);
38   }
39 }
40
Note: See TracBrowser for help on using the browser.