|
Revision 11313, 1.4 kB
(checked in by fabien, 5 years ago)
|
[1.2] First part of the routing refactoring (WIP)
|
- 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 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 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 |
* @param array $options An associative array of options |
|---|
| 29 |
* |
|---|
| 30 |
* @return bool true, if initialization completes successfully, otherwise false |
|---|
| 31 |
* |
|---|
| 32 |
* @throws <b>sfInitializationException</b> If an error occurs while initializing this sfRequest |
|---|
| 33 |
*/ |
|---|
| 34 |
public function initialize(sfEventDispatcher $dispatcher, $parameters = array(), $attributes = array(), $options = array()) |
|---|
| 35 |
{ |
|---|
| 36 |
parent::initialize($dispatcher, $parameters, $attributes, $options); |
|---|
| 37 |
|
|---|
| 38 |
$this->getParameterHolder()->add($_SERVER['argv']); |
|---|
| 39 |
} |
|---|
| 40 |
} |
|---|
| 41 |
|
|---|