# Policy Markers
To dynamically inject values into policies you can use markers. The framework comes with a few out-of-box markers, however, you can declare your own as described in the custom_markers section.
# ARGS
- Format:
${ARGS.<xpath>} - Returns:
mixed
The xpath is any valid path to the argument in the context object.
# DATETIME
- Format:
${DATETIME.<date-format>} - Returns:
string
The data-format is any valid date format as described in the official PHP documentation.
# ENV
- Format:
${ENV.<environment-var>} - Returns:
string
The environment-var is the name for the environment variable
# HTTP_COOKIE
- Format:
${HTTP_COOKIE.<cookie-name>} - Returns:
string
The cookie-name is the name for the cookie.
# HTTP_GET
- Format:
${HTTP_GET.<xpath>} - Returns:
string|array
# HTTP_POST
- Format:
${HTTP_POST.<xpath>} - Returns:
mixed
# HTTP_REQUEST
- Format:
${HTTP_REQUEST.<xpath>} - Returns:
mixed