|
Revision 1632, 1.2 kB
(checked in by mikey, 2 weeks ago)
|
make multi-project structure default
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
stubClassLoader::load('net::stubbles::ipo::request::stubRequest', |
|---|
| 10 |
'net::stubbles::ipo::response::stubResponse', |
|---|
| 11 |
'net::stubbles::ipo::session::stubSession', |
|---|
| 12 |
'net::stubbles::websites::processors::stubProcessor' |
|---|
| 13 |
); |
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
interface stubProcessorResolver extends stubSerializable |
|---|
| 21 |
{ |
|---|
| 22 |
|
|---|
| 23 |
* resolves the request and creates the appropriate processor |
|---|
| 24 |
* |
|---|
| 25 |
* @param stubRequest $request the current request |
|---|
| 26 |
* @param stubSession $session the current session |
|---|
| 27 |
* @param stubResponse $response the current response |
|---|
| 28 |
* @return stubProcessor |
|---|
| 29 |
*/ |
|---|
| 30 |
public function resolve(stubRequest $request, stubSession $session, stubResponse $response); |
|---|
| 31 |
|
|---|
| 32 |
|
|---|
| 33 |
* method to handle page based processors |
|---|
| 34 |
* |
|---|
| 35 |
* @param stubProcessor $processor |
|---|
| 36 |
* @throws stubConfigurationException |
|---|
| 37 |
* @throws stubRuntimeException |
|---|
| 38 |
*/ |
|---|
| 39 |
public function selectPage(stubProcessor $processor); |
|---|
| 40 |
} |
|---|
| 41 |
?> |
|---|