Development

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

You must first sign up to be able to contribute.

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

Revision 7791, 1.3 kB (checked in by fabien, 7 years ago)

updated Sean Kerr email address

  • 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 sfContext A sfContext instance
26    * @param array   An associative array of initialization parameters
27    * @param array   An associative array of initialization attributes
28    *
29    * @return boolean true, if initialization completes successfully, otherwise false
30    *
31    * @throws <b>sfInitializationException</b> If an error occurs while initializing this Request
32    */
33   public function initialize($context, $parameters = array(), $attributes = array())
34   {
35     parent::initialize($context, $parameters, $attributes);
36
37     $this->getParameterHolder()->add($_SERVER['argv']);
38   }
39
40   /**
41    * Executes the shutdown procedure.
42    *
43    */
44   public function shutdown()
45   {
46   }
47 }
48
Note: See TracBrowser for help on using the browser.