Skip to content

Commit 9509360

Browse files
authored
Merge pull request #4 from Hansel23/master
Adds hints for URI expression usage in final URIs of RequestBypasses
2 parents 5c0b3e6 + bf63ae2 commit 9509360

35 files changed

+170
-136
lines changed

404.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@
6060
<meta property="og:description" content="The page you requested was not found."/>
6161
<meta property="og:url" content="https://icehawk.github.io/404.html"/>
6262
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
63-
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
64-
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
63+
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
64+
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
6565
<meta name="twitter:card" content="summary_large_image"/>
6666
<meta name="twitter:title" content="404 - Not Found | IceHawk | PHP micro-framework respecting CQRS"/>
6767
<meta name="twitter:description" content="The page you requested was not found."/>
@@ -82,8 +82,8 @@
8282
},
8383
"headline": "404 - Not Found | IceHawk | PHP micro-framework respecting CQRS",
8484
"url": "https://icehawk.github.io/404.html",
85-
"datePublished": "2017-09-01T23:25:10+02:00",
86-
"dateModified": "2017-09-01T23:25:10+02:00",
85+
"datePublished": "2017-09-19T14:54:57+02:00",
86+
"dateModified": "2017-09-19T14:54:57+02:00",
8787
"image": "https://icehawk.github.io/images/logo_121x100.png",
8888
"keywords": "",
8989
"description": "The page you requested was not found."

Contents/docs/icehawk/request-bypassing.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,20 @@ class IceHawkConfig implements ConfiguresIceHawk
9595
**Please note:** The `MarkPaymentSucceededRequestHandler` has to implement the `IceHawk\IceHawk\Interfaces\HandlesPostRequest` interface.
9696

9797
Of course you can use any of the [URI pattern classes](@baseUrl@/docs/icehawk/routing.html#uri-pattern-classes) for matching in the request bypass.
98+
99+
To use uri parameters of your request for the final uri you can use this pattern within your uri:
100+
- _:PARAMETER_NAME_
101+
102+
Example:
103+
```php
104+
public function getRequestBypasses()
105+
{
106+
return [
107+
new RequestBypass(
108+
new NamedRegExp('^/orders/(?<orderId>\d*)$'),
109+
'/update/order/:orderId',
110+
HttpMethod::PUT
111+
),
112+
];
113+
}
114+
```

coverage.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
<meta property="og:description" content="IceHawk components code coverage reports"/>
5858
<meta property="og:url" content="https://icehawk.github.io/coverage.html"/>
5959
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
60-
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
61-
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
60+
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
61+
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
6262
<meta property="article:tag" content="CQRS"/>
6363
<meta property="article:tag" content="IceHawk"/>
6464
<meta property="article:tag" content="components"/>
@@ -87,8 +87,8 @@
8787
},
8888
"headline": "Code coverage | IceHawk | PHP micro-framework respecting CQRS",
8989
"url": "https://icehawk.github.io/coverage.html",
90-
"datePublished": "2017-09-01T23:25:10+02:00",
91-
"dateModified": "2017-09-01T23:25:10+02:00",
90+
"datePublished": "2017-09-19T14:54:57+02:00",
91+
"dateModified": "2017-09-19T14:54:57+02:00",
9292
"image": "https://icehawk.github.io/images/logo_121x100.png",
9393
"keywords": "CQRS, IceHawk, components, pubsub, session, forms, routing, documentation",
9494
"description": "IceHawk components code coverage reports"

docs.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
<meta property="og:description" content="IceHawk components documentation"/>
5858
<meta property="og:url" content="https://icehawk.github.io/docs.html"/>
5959
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
60-
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
61-
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
60+
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
61+
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
6262
<meta property="article:tag" content="CQRS"/>
6363
<meta property="article:tag" content="IceHawk"/>
6464
<meta property="article:tag" content="components"/>
@@ -87,8 +87,8 @@
8787
},
8888
"headline": "Documentation | IceHawk | PHP micro-framework respecting CQRS",
8989
"url": "https://icehawk.github.io/docs.html",
90-
"datePublished": "2017-09-01T23:25:10+02:00",
91-
"dateModified": "2017-09-01T23:25:10+02:00",
90+
"datePublished": "2017-09-19T14:54:57+02:00",
91+
"dateModified": "2017-09-19T14:54:57+02:00",
9292
"image": "https://icehawk.github.io/images/logo_121x100.png",
9393
"keywords": "CQRS, IceHawk, components, pubsub, session, forms, routing, documentation",
9494
"description": "IceHawk components documentation"

docs/forms.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
<meta property="og:description" content="Forms - components documentation"/>
5858
<meta property="og:url" content="https://icehawk.github.io/docs/forms.html"/>
5959
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
60-
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
61-
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
60+
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
61+
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
6262
<meta property="article:tag" content="forms"/>
6363
<meta property="article:tag" content="components"/>
6464
<meta property="article:tag" content="applications"/>
@@ -84,8 +84,8 @@
8484
},
8585
"headline": "Forms component | IceHawk | PHP micro-framework respecting CQRS",
8686
"url": "https://icehawk.github.io/docs/forms.html",
87-
"datePublished": "2017-09-01T23:25:10+02:00",
88-
"dateModified": "2017-09-01T23:25:10+02:00",
87+
"datePublished": "2017-09-19T14:54:57+02:00",
88+
"dateModified": "2017-09-19T14:54:57+02:00",
8989
"image": "https://icehawk.github.io/images/logo_121x100.png",
9090
"keywords": "forms, components, applications, routing, documentation",
9191
"description": "Forms - components documentation"

docs/forms/installation.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
<meta property="og:description" content="Forms installation - components documentation"/>
5858
<meta property="og:url" content="https://icehawk.github.io/docs/forms/installation.html"/>
5959
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
60-
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
61-
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
60+
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
61+
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
6262
<meta property="article:tag" content="forms"/>
6363
<meta property="article:tag" content="installation"/>
6464
<meta name="twitter:card" content="summary_large_image"/>
@@ -81,8 +81,8 @@
8181
},
8282
"headline": "Installation | IceHawk | PHP micro-framework respecting CQRS",
8383
"url": "https://icehawk.github.io/docs/forms/installation.html",
84-
"datePublished": "2017-09-01T23:25:10+02:00",
85-
"dateModified": "2017-09-01T23:25:10+02:00",
84+
"datePublished": "2017-09-19T14:54:57+02:00",
85+
"dateModified": "2017-09-19T14:54:57+02:00",
8686
"image": "https://icehawk.github.io/images/logo_121x100.png",
8787
"keywords": "forms, installation",
8888
"description": "Forms installation - components documentation"

docs/forms/usage.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
<meta property="og:description" content="Forms usage - components documentation"/>
5858
<meta property="og:url" content="https://icehawk.github.io/docs/forms/usage.html"/>
5959
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
60-
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
61-
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
60+
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
61+
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
6262
<meta property="article:tag" content="forms"/>
6363
<meta property="article:tag" content="usage"/>
6464
<meta property="article:tag" content="CSRF"/>
@@ -84,8 +84,8 @@
8484
},
8585
"headline": "Usage | IceHawk | PHP micro-framework respecting CQRS",
8686
"url": "https://icehawk.github.io/docs/forms/usage.html",
87-
"datePublished": "2017-09-01T23:25:10+02:00",
88-
"dateModified": "2017-09-01T23:25:10+02:00",
87+
"datePublished": "2017-09-19T14:54:57+02:00",
88+
"dateModified": "2017-09-19T14:54:57+02:00",
8989
"image": "https://icehawk.github.io/images/logo_121x100.png",
9090
"keywords": "forms, usage, CSRF, Token, Feedback",
9191
"description": "Forms usage - components documentation"

docs/icehawk.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
<meta property="og:description" content="IceHawk - components documentation"/>
5858
<meta property="og:url" content="https://icehawk.github.io/docs/icehawk.html"/>
5959
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
60-
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
61-
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
60+
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
61+
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
6262
<meta property="article:tag" content="IceHawk"/>
6363
<meta property="article:tag" content="components"/>
6464
<meta property="article:tag" content="applications"/>
@@ -84,8 +84,8 @@
8484
},
8585
"headline": "IceHawk component | IceHawk | PHP micro-framework respecting CQRS",
8686
"url": "https://icehawk.github.io/docs/icehawk.html",
87-
"datePublished": "2017-09-01T23:25:10+02:00",
88-
"dateModified": "2017-09-01T23:25:10+02:00",
87+
"datePublished": "2017-09-19T14:54:57+02:00",
88+
"dateModified": "2017-09-19T14:54:57+02:00",
8989
"image": "https://icehawk.github.io/images/logo_121x100.png",
9090
"keywords": "IceHawk, components, applications, routing, documentation",
9191
"description": "IceHawk - components documentation"

docs/icehawk/auto-responding.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
<meta property="og:description" content="IceHawk auto responding - components documentation"/>
5858
<meta property="og:url" content="https://icehawk.github.io/docs/icehawk/auto-responding.html"/>
5959
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
60-
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
61-
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
60+
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
61+
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
6262
<meta property="article:tag" content="Automatic response"/>
6363
<meta property="article:tag" content="OPTIONS"/>
6464
<meta property="article:tag" content="request handler"/>
@@ -82,8 +82,8 @@
8282
},
8383
"headline": "Auto responding | IceHawk | PHP micro-framework respecting CQRS",
8484
"url": "https://icehawk.github.io/docs/icehawk/auto-responding.html",
85-
"datePublished": "2017-09-01T23:25:10+02:00",
86-
"dateModified": "2017-09-01T23:25:10+02:00",
85+
"datePublished": "2017-09-19T14:54:57+02:00",
86+
"dateModified": "2017-09-19T14:54:57+02:00",
8787
"image": "https://icehawk.github.io/images/logo_121x100.png",
8888
"keywords": "Automatic response, OPTIONS, request handler",
8989
"description": "IceHawk auto responding - components documentation"

docs/icehawk/configuration.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@
5757
<meta property="og:description" content="IceHawk installation - components documentation"/>
5858
<meta property="og:url" content="https://icehawk.github.io/docs/icehawk/configuration.html"/>
5959
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
60-
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
61-
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
60+
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
61+
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
6262
<meta property="article:tag" content="IceHawk"/>
6363
<meta property="article:tag" content="routing"/>
6464
<meta property="article:tag" content="documentation"/>
@@ -83,8 +83,8 @@
8383
},
8484
"headline": "IceHawk configuration | IceHawk | PHP micro-framework respecting CQRS",
8585
"url": "https://icehawk.github.io/docs/icehawk/configuration.html",
86-
"datePublished": "2017-09-01T23:25:10+02:00",
87-
"dateModified": "2017-09-01T23:25:10+02:00",
86+
"datePublished": "2017-09-19T14:54:57+02:00",
87+
"dateModified": "2017-09-19T14:54:57+02:00",
8888
"image": "https://icehawk.github.io/images/logo_121x100.png",
8989
"keywords": "IceHawk, routing, documentation, configuration",
9090
"description": "IceHawk installation - components documentation"

0 commit comments

Comments
 (0)