Skip to content

Hints for parameter usage in RequestBypasses #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 19, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
<meta property="og:description" content="The page you requested was not found."/>
<meta property="og:url" content="https://icehawk.github.io/404.html"/>
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:title" content="404 - Not Found | IceHawk | PHP micro-framework respecting CQRS"/>
<meta name="twitter:description" content="The page you requested was not found."/>
Expand All @@ -82,8 +82,8 @@
},
"headline": "404 - Not Found | IceHawk | PHP micro-framework respecting CQRS",
"url": "https://icehawk.github.io/404.html",
"datePublished": "2017-09-01T23:25:10+02:00",
"dateModified": "2017-09-01T23:25:10+02:00",
"datePublished": "2017-09-19T14:54:57+02:00",
"dateModified": "2017-09-19T14:54:57+02:00",
"image": "https://icehawk.github.io/images/logo_121x100.png",
"keywords": "",
"description": "The page you requested was not found."
Expand Down
17 changes: 17 additions & 0 deletions Contents/docs/icehawk/request-bypassing.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,3 +95,20 @@ class IceHawkConfig implements ConfiguresIceHawk
**Please note:** The `MarkPaymentSucceededRequestHandler` has to implement the `IceHawk\IceHawk\Interfaces\HandlesPostRequest` interface.

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.

To use uri parameters of your request for the final uri you can use this pattern within your uri:
- _:PARAMETER_NAME_

Example:
```php
public function getRequestBypasses()
{
return [
new RequestBypass(
new NamedRegExp('^/orders/(?<orderId>\d*)$'),
'/update/order/:orderId',
HttpMethod::PUT
),
];
}
```
8 changes: 4 additions & 4 deletions coverage.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<meta property="og:description" content="IceHawk components code coverage reports"/>
<meta property="og:url" content="https://icehawk.github.io/coverage.html"/>
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:tag" content="CQRS"/>
<meta property="article:tag" content="IceHawk"/>
<meta property="article:tag" content="components"/>
Expand Down Expand Up @@ -87,8 +87,8 @@
},
"headline": "Code coverage | IceHawk | PHP micro-framework respecting CQRS",
"url": "https://icehawk.github.io/coverage.html",
"datePublished": "2017-09-01T23:25:10+02:00",
"dateModified": "2017-09-01T23:25:10+02:00",
"datePublished": "2017-09-19T14:54:57+02:00",
"dateModified": "2017-09-19T14:54:57+02:00",
"image": "https://icehawk.github.io/images/logo_121x100.png",
"keywords": "CQRS, IceHawk, components, pubsub, session, forms, routing, documentation",
"description": "IceHawk components code coverage reports"
Expand Down
8 changes: 4 additions & 4 deletions docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<meta property="og:description" content="IceHawk components documentation"/>
<meta property="og:url" content="https://icehawk.github.io/docs.html"/>
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:tag" content="CQRS"/>
<meta property="article:tag" content="IceHawk"/>
<meta property="article:tag" content="components"/>
Expand Down Expand Up @@ -87,8 +87,8 @@
},
"headline": "Documentation | IceHawk | PHP micro-framework respecting CQRS",
"url": "https://icehawk.github.io/docs.html",
"datePublished": "2017-09-01T23:25:10+02:00",
"dateModified": "2017-09-01T23:25:10+02:00",
"datePublished": "2017-09-19T14:54:57+02:00",
"dateModified": "2017-09-19T14:54:57+02:00",
"image": "https://icehawk.github.io/images/logo_121x100.png",
"keywords": "CQRS, IceHawk, components, pubsub, session, forms, routing, documentation",
"description": "IceHawk components documentation"
Expand Down
8 changes: 4 additions & 4 deletions docs/forms.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<meta property="og:description" content="Forms - components documentation"/>
<meta property="og:url" content="https://icehawk.github.io/docs/forms.html"/>
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:tag" content="forms"/>
<meta property="article:tag" content="components"/>
<meta property="article:tag" content="applications"/>
Expand All @@ -84,8 +84,8 @@
},
"headline": "Forms component | IceHawk | PHP micro-framework respecting CQRS",
"url": "https://icehawk.github.io/docs/forms.html",
"datePublished": "2017-09-01T23:25:10+02:00",
"dateModified": "2017-09-01T23:25:10+02:00",
"datePublished": "2017-09-19T14:54:57+02:00",
"dateModified": "2017-09-19T14:54:57+02:00",
"image": "https://icehawk.github.io/images/logo_121x100.png",
"keywords": "forms, components, applications, routing, documentation",
"description": "Forms - components documentation"
Expand Down
8 changes: 4 additions & 4 deletions docs/forms/installation.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<meta property="og:description" content="Forms installation - components documentation"/>
<meta property="og:url" content="https://icehawk.github.io/docs/forms/installation.html"/>
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:tag" content="forms"/>
<meta property="article:tag" content="installation"/>
<meta name="twitter:card" content="summary_large_image"/>
Expand All @@ -81,8 +81,8 @@
},
"headline": "Installation | IceHawk | PHP micro-framework respecting CQRS",
"url": "https://icehawk.github.io/docs/forms/installation.html",
"datePublished": "2017-09-01T23:25:10+02:00",
"dateModified": "2017-09-01T23:25:10+02:00",
"datePublished": "2017-09-19T14:54:57+02:00",
"dateModified": "2017-09-19T14:54:57+02:00",
"image": "https://icehawk.github.io/images/logo_121x100.png",
"keywords": "forms, installation",
"description": "Forms installation - components documentation"
Expand Down
8 changes: 4 additions & 4 deletions docs/forms/usage.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<meta property="og:description" content="Forms usage - components documentation"/>
<meta property="og:url" content="https://icehawk.github.io/docs/forms/usage.html"/>
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:tag" content="forms"/>
<meta property="article:tag" content="usage"/>
<meta property="article:tag" content="CSRF"/>
Expand All @@ -84,8 +84,8 @@
},
"headline": "Usage | IceHawk | PHP micro-framework respecting CQRS",
"url": "https://icehawk.github.io/docs/forms/usage.html",
"datePublished": "2017-09-01T23:25:10+02:00",
"dateModified": "2017-09-01T23:25:10+02:00",
"datePublished": "2017-09-19T14:54:57+02:00",
"dateModified": "2017-09-19T14:54:57+02:00",
"image": "https://icehawk.github.io/images/logo_121x100.png",
"keywords": "forms, usage, CSRF, Token, Feedback",
"description": "Forms usage - components documentation"
Expand Down
8 changes: 4 additions & 4 deletions docs/icehawk.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<meta property="og:description" content="IceHawk - components documentation"/>
<meta property="og:url" content="https://icehawk.github.io/docs/icehawk.html"/>
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:tag" content="IceHawk"/>
<meta property="article:tag" content="components"/>
<meta property="article:tag" content="applications"/>
Expand All @@ -84,8 +84,8 @@
},
"headline": "IceHawk component | IceHawk | PHP micro-framework respecting CQRS",
"url": "https://icehawk.github.io/docs/icehawk.html",
"datePublished": "2017-09-01T23:25:10+02:00",
"dateModified": "2017-09-01T23:25:10+02:00",
"datePublished": "2017-09-19T14:54:57+02:00",
"dateModified": "2017-09-19T14:54:57+02:00",
"image": "https://icehawk.github.io/images/logo_121x100.png",
"keywords": "IceHawk, components, applications, routing, documentation",
"description": "IceHawk - components documentation"
Expand Down
8 changes: 4 additions & 4 deletions docs/icehawk/auto-responding.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<meta property="og:description" content="IceHawk auto responding - components documentation"/>
<meta property="og:url" content="https://icehawk.github.io/docs/icehawk/auto-responding.html"/>
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:tag" content="Automatic response"/>
<meta property="article:tag" content="OPTIONS"/>
<meta property="article:tag" content="request handler"/>
Expand All @@ -82,8 +82,8 @@
},
"headline": "Auto responding | IceHawk | PHP micro-framework respecting CQRS",
"url": "https://icehawk.github.io/docs/icehawk/auto-responding.html",
"datePublished": "2017-09-01T23:25:10+02:00",
"dateModified": "2017-09-01T23:25:10+02:00",
"datePublished": "2017-09-19T14:54:57+02:00",
"dateModified": "2017-09-19T14:54:57+02:00",
"image": "https://icehawk.github.io/images/logo_121x100.png",
"keywords": "Automatic response, OPTIONS, request handler",
"description": "IceHawk auto responding - components documentation"
Expand Down
8 changes: 4 additions & 4 deletions docs/icehawk/configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<meta property="og:description" content="IceHawk installation - components documentation"/>
<meta property="og:url" content="https://icehawk.github.io/docs/icehawk/configuration.html"/>
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:tag" content="IceHawk"/>
<meta property="article:tag" content="routing"/>
<meta property="article:tag" content="documentation"/>
Expand All @@ -83,8 +83,8 @@
},
"headline": "IceHawk configuration | IceHawk | PHP micro-framework respecting CQRS",
"url": "https://icehawk.github.io/docs/icehawk/configuration.html",
"datePublished": "2017-09-01T23:25:10+02:00",
"dateModified": "2017-09-01T23:25:10+02:00",
"datePublished": "2017-09-19T14:54:57+02:00",
"dateModified": "2017-09-19T14:54:57+02:00",
"image": "https://icehawk.github.io/images/logo_121x100.png",
"keywords": "IceHawk, routing, documentation, configuration",
"description": "IceHawk installation - components documentation"
Expand Down
8 changes: 4 additions & 4 deletions docs/icehawk/constants.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<meta property="og:description" content="IceHawk constants - components documentation"/>
<meta property="og:url" content="https://icehawk.github.io/docs/icehawk/constants.html"/>
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:tag" content="IceHawk"/>
<meta property="article:tag" content="constants"/>
<meta property="article:tag" content="HTTP method"/>
Expand All @@ -83,8 +83,8 @@
},
"headline": "Constants | IceHawk | PHP micro-framework respecting CQRS",
"url": "https://icehawk.github.io/docs/icehawk/constants.html",
"datePublished": "2017-09-01T23:25:10+02:00",
"dateModified": "2017-09-01T23:25:10+02:00",
"datePublished": "2017-09-19T14:54:57+02:00",
"dateModified": "2017-09-19T14:54:57+02:00",
"image": "https://icehawk.github.io/images/logo_121x100.png",
"keywords": "IceHawk, constants, HTTP method, HTTP code",
"description": "IceHawk constants - components documentation"
Expand Down
8 changes: 4 additions & 4 deletions docs/icehawk/cookies.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<meta property="og:description" content="IceHawk cookies - components documentation"/>
<meta property="og:url" content="https://icehawk.github.io/docs/icehawk/cookies.html"/>
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:tag" content="IceHawk"/>
<meta property="article:tag" content="request"/>
<meta property="article:tag" content="data"/>
Expand All @@ -84,8 +84,8 @@
},
"headline": "Cookies | IceHawk | PHP micro-framework respecting CQRS",
"url": "https://icehawk.github.io/docs/icehawk/cookies.html",
"datePublished": "2017-09-01T23:25:10+02:00",
"dateModified": "2017-09-01T23:25:10+02:00",
"datePublished": "2017-09-19T14:54:57+02:00",
"dateModified": "2017-09-19T14:54:57+02:00",
"image": "https://icehawk.github.io/images/logo_121x100.png",
"keywords": "IceHawk, request, data, documentation, cookies",
"description": "IceHawk cookies - components documentation"
Expand Down
8 changes: 4 additions & 4 deletions docs/icehawk/delegation.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<meta property="og:description" content="IceHawk delegation - components documentation"/>
<meta property="og:url" content="https://icehawk.github.io/docs/icehawk/delegation.html"/>
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:tag" content="IceHawk"/>
<meta property="article:tag" content="routing"/>
<meta property="article:tag" content="documentation"/>
Expand All @@ -83,8 +83,8 @@
},
"headline": "IceHawk delegation | IceHawk | PHP micro-framework respecting CQRS",
"url": "https://icehawk.github.io/docs/icehawk/delegation.html",
"datePublished": "2017-09-01T23:25:10+02:00",
"dateModified": "2017-09-01T23:25:10+02:00",
"datePublished": "2017-09-19T14:54:57+02:00",
"dateModified": "2017-09-19T14:54:57+02:00",
"image": "https://icehawk.github.io/images/logo_121x100.png",
"keywords": "IceHawk, routing, documentation, delegation",
"description": "IceHawk delegation - components documentation"
Expand Down
8 changes: 4 additions & 4 deletions docs/icehawk/events-and-subscribers.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<meta property="og:description" content="IceHawk events and subscribers - components documentation"/>
<meta property="og:url" content="https://icehawk.github.io/docs/icehawk/events-and-subscribers.html"/>
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:tag" content="IceHawk"/>
<meta property="article:tag" content="event"/>
<meta property="article:tag" content="subscriber"/>
Expand All @@ -83,8 +83,8 @@
},
"headline": "Events and subscribers | IceHawk | PHP micro-framework respecting CQRS",
"url": "https://icehawk.github.io/docs/icehawk/events-and-subscribers.html",
"datePublished": "2017-09-01T23:25:10+02:00",
"dateModified": "2017-09-01T23:25:10+02:00",
"datePublished": "2017-09-19T14:54:57+02:00",
"dateModified": "2017-09-19T14:54:57+02:00",
"image": "https://icehawk.github.io/images/logo_121x100.png",
"keywords": "IceHawk, event, subscriber, documentation",
"description": "IceHawk events and subscribers - components documentation"
Expand Down
8 changes: 4 additions & 4 deletions docs/icehawk/exceptions.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
<meta property="og:description" content="IceHawk exceptions - components documentation"/>
<meta property="og:url" content="https://icehawk.github.io/docs/icehawk/exceptions.html"/>
<meta property="og:image" content="https://icehawk.github.io/images/logo_121x100.png"/>
<meta property="article:published_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:modified_time" content="2017-09-01T23:25:10+02:00"/>
<meta property="article:published_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:modified_time" content="2017-09-19T14:54:57+02:00"/>
<meta property="article:tag" content="IceHawk"/>
<meta property="article:tag" content="exception"/>
<meta property="article:tag" content="throwable"/>
Expand All @@ -84,8 +84,8 @@
},
"headline": "Exceptions | IceHawk | PHP micro-framework respecting CQRS",
"url": "https://icehawk.github.io/docs/icehawk/exceptions.html",
"datePublished": "2017-09-01T23:25:10+02:00",
"dateModified": "2017-09-01T23:25:10+02:00",
"datePublished": "2017-09-19T14:54:57+02:00",
"dateModified": "2017-09-19T14:54:57+02:00",
"image": "https://icehawk.github.io/images/logo_121x100.png",
"keywords": "IceHawk, exception, throwable, error, documentation",
"description": "IceHawk exceptions - components documentation"
Expand Down
Loading