A

ApplicationClass in namespace WPEmerge\Application
The core WP Emerge component representing an application.
ApplicationMixinClass in namespace WPEmerge\Application
Can be applied to your App class via a "@mixin" annotation for better IDE support.
ApplicationMixin::app() — Method in class ApplicationMixin
Get the Application instance.
ApplicationServiceProviderClass in namespace WPEmerge\Application
Provide application dependencies.
ApplicationTraitClass in namespace WPEmerge\Application
Provides static access to an Application instance.
HasAliasesTrait::alias() — Method in class HasAliasesTrait
Register an alias.
Flash::add() — Method in class Flash
Add values for a key for the next request.
Flash::addNow() — Method in class Flash
Add values for a key for the current request.
ArgumentsClass in namespace WPEmerge\Helpers
A collection of tools dealing with urls
HasAttributesInterface::attribute() — Method in class HasAttributesInterface
Fluent alias for setAttribute().
HasAttributesInterface::attributes() — Method in class HasAttributesInterface
Fluent alias for setAttributes().
HasAttributesTrait::attribute() — Method in class HasAttributesTrait
Fluent alias for setAttribute().
HasAttributesTrait::attributes() — Method in class HasAttributesTrait
Fluent alias for setAttributes().
MixedType::addTrailingSlash() — Method in class MixedType
Ensure path has a trailing slash.
Url::addLeadingSlash() — Method in class Url
Ensure url has a leading slash
Url::addTrailingSlash() — Method in class Url
Ensure url has a trailing slash
HttpKernel::actionAjax() — Method in class HttpKernel
Act on ajax action.
HttpKernel::actionAdminLoad() — Method in class HttpKernel
Act on admin action load.
HttpKernel::actionAdmin() — Method in class HttpKernel
Act on admin action.
ControllerMiddleware::appliesTo() — Method in class ControllerMiddleware
Get whether the middleware applies to the specified method.
HasControllerMiddlewareInterface::addMiddleware() — Method in class HasControllerMiddlewareInterface
Add middleware.
HasControllerMiddlewareTrait::addMiddleware() — Method in class HasControllerMiddlewareTrait
Add middleware.
Request::attributes() — Method in class Request
Get a value from the request attributes.
RequestInterface::attributes() — Method in class RequestInterface
Get a value from the request attributes.
AdminConditionClass in namespace WPEmerge\Routing\Conditions
Check against the current ajax action.
AjaxConditionClass in namespace WPEmerge\Routing\Conditions
Check against the current ajax action.
HasQueryFilterInterface::applyQueryFilter() — Method in class HasQueryFilterInterface
Apply the query filter, if any.
HasQueryFilterTrait::applyQueryFilter() — Method in class HasQueryFilterTrait
Apply the query filter, if any.
HasRoutesInterface::addRoute() — Method in class HasRoutesInterface
Add a route.
HasRoutesTrait::addRoute() — Method in class HasRoutesTrait
Add a route.
RouteBlueprint::all() — Method in class RouteBlueprint
Match ALL requests.
RouteBlueprint::any() — Method in class RouteBlueprint
Match requests with any method.
ArrClass in namespace WPEmerge\Support
A collection of tools dealing with arrays
Arr::accessible() — Method in class Arr
Determine whether the given value is array accessible.
Arr::add() — Method in class Arr
Add an element to an array using "dot" notation if it doesn't exist.
ViewService::addGlobal() — Method in class ViewService
Set a global variable.
ViewService::addGlobals() — Method in class ViewService
Set an array of global variables.
ViewService::addComposer() — Method in class ViewService
Add view composer.

B

Application::bootstrap() — Method in class Application
Bootstrap the application.
ApplicationMixin::bootstrap() — Method in class ApplicationMixin
Bootstrap the application.
ApplicationServiceProvider::bootstrap() — Method in class ApplicationServiceProvider
Bootstrap any services if needed.
ControllersServiceProvider::bootstrap() — Method in class ControllersServiceProvider
Bootstrap any services if needed.
CsrfServiceProvider::bootstrap() — Method in class CsrfServiceProvider
Bootstrap any services if needed.
ExceptionsServiceProvider::bootstrap() — Method in class ExceptionsServiceProvider
Bootstrap any services if needed.
FlashServiceProvider::bootstrap() — Method in class FlashServiceProvider
Bootstrap any services if needed.
OldInputServiceProvider::bootstrap() — Method in class OldInputServiceProvider
Bootstrap any services if needed.
HttpKernel::bootstrap() — Method in class HttpKernel
Bootstrap the kernel.
HttpKernelInterface::bootstrap() — Method in class HttpKernelInterface
Bootstrap the kernel.
KernelsServiceProvider::bootstrap() — Method in class KernelsServiceProvider
Bootstrap any services if needed.
MiddlewareServiceProvider::bootstrap() — Method in class MiddlewareServiceProvider
Bootstrap any services if needed.
Request::body() — Method in class Request
Get a value from the request body (i.e. $_POST).
RequestInterface::body() — Method in class RequestInterface
Get a value from the request body (i.e. $_POST).
RequestsServiceProvider::bootstrap() — Method in class RequestsServiceProvider
Bootstrap any services if needed.
RedirectResponse::back() — Method in class RedirectResponse
Get a response redirecting back to the referrer or a fallback.
ResponsesServiceProvider::bootstrap() — Method in class ResponsesServiceProvider
Bootstrap any services if needed.
RoutingServiceProvider::bootstrap() — Method in class RoutingServiceProvider
Bootstrap any services if needed.
ServiceProviderInterface::bootstrap() — Method in class ServiceProviderInterface
Bootstrap any services if needed.
ViewServiceProvider::bootstrap() — Method in class ViewServiceProvider
Bootstrap any services if needed.

C

ApplicationMixin::container() — Method in class ApplicationMixin
Get the IoC container instance.
ApplicationMixin::closure() — Method in class ApplicationMixin
Get the ClosureFactory instance.
ApplicationMixin::csrf() — Method in class ApplicationMixin
Get the CSRF service instance.
ClosureFactoryClass in namespace WPEmerge\Application
Factory that makes closures which resolve values from the container.
HasContainerTrait::container() — Method in class HasContainerTrait
Get the IoC container instance.
ControllersServiceProviderClass in namespace WPEmerge\Controllers
Provide controller dependencies
CsrfClass in namespace WPEmerge\Csrf
Provide CSRF protection utilities through WordPress nonces.
CsrfMiddlewareClass in namespace WPEmerge\Csrf
Store current request data and clear old request data
CsrfServiceProviderClass in namespace WPEmerge\Csrf
Provide CSRF dependencies.
ClassNotFoundExceptionClass in namespace WPEmerge\Exceptions
ConfigurationExceptionClass in namespace WPEmerge\Exceptions
Flash::clear() — Method in class Flash
Clear the entire store or the values for a key for the current request.
Flash::clearNext() — Method in class Flash
Clear the entire store or the values for a key for the next request.
OldInput::clear() — Method in class OldInput
Clear input for the next request.
HttpKernel::compose() — Method in class HttpKernel
Output the current view outside of the routing flow.
ControllerMiddlewareClass in namespace WPEmerge\Middleware
Redirect users who do not have a capability to a specific URL.
Request::cookies() — Method in class Request
Get a value from the COOKIE parameters.
RequestInterface::cookies() — Method in class RequestInterface
Get a value from the COOKIE parameters.
ConvertsToResponseTraitClass in namespace WPEmerge\Responses
Converts values to a response.
CanFilterQueryInterfaceClass in namespace WPEmerge\Routing\Conditions
Interface signifying that an object can filter the main WordPress query.
ConditionFactoryClass in namespace WPEmerge\Routing\Conditions
Check against the current url
ConditionFactory::condition() — Method in class ConditionFactory
Ensure value is a condition.
ConditionInterfaceClass in namespace WPEmerge\Routing\Conditions
Interface that condition types must implement
CustomConditionClass in namespace WPEmerge\Routing\Conditions
Check against a custom callable.
UrlCondition::concatenate() — Method in class UrlCondition
Append a url to this one returning a new instance.
Arr::collapse() — Method in class Arr
Collapse an array of arrays into a single array.
NameProxyViewEngine::canonical() — Method in class NameProxyViewEngine
Return a canonical string representation of the view name.
PhpViewEngine::canonical() — Method in class PhpViewEngine
Return a canonical string representation of the view name.
PhpViewFilesystemFinder::canonical() — Method in class PhpViewFilesystemFinder
Return a canonical string representation of the view name.
ViewFinderInterface::canonical() — Method in class ViewFinderInterface
Return a canonical string representation of the view name.
ViewService::compose() — Method in class ViewService
Composes a view instance with contexts in the following order: Global, Composers, Local.
ViewService::canonical() — Method in class ViewService
Return a canonical string representation of the view name.

D

DebugDataProviderClass in namespace WPEmerge\Exceptions\Whoops
Provide debug data for usage with \Whoops\Handler\PrettyPageHandler.
RouteBlueprint::delete() — Method in class RouteBlueprint
Match requests with a method of DELETE.
Arr::divide() — Method in class Arr
Divide an array into two arrays. One with keys and the other with values.
Arr::dot() — Method in class Arr
Flatten a multi-dimensional associative array with dots.
Arr::data_get() — Method in class Arr
Get an item from an array or object using "dot" notation.

E

ApplicationMixin::error() — Method in class ApplicationMixin
Create a response with the specified error status code.
ErrorHandlerClass in namespace WPEmerge\Exceptions
ErrorHandlerInterfaceClass in namespace WPEmerge\Exceptions
ExceptionClass in namespace WPEmerge\Exceptions
ExceptionsServiceProviderClass in namespace WPEmerge\Exceptions
Provide exceptions dependencies.
Flash::enabled() — Method in class Flash
Get whether the flash service is enabled.
Handler::execute() — Method in class Handler
Execute the parsed handler with any provided arguments and return the result.
OldInput::enabled() — Method in class OldInput
Get whether the old input service is enabled.
ControllerMiddleware::except() — Method in class ControllerMiddleware
Set methods the middleware should not apply to.
ExecutesMiddlewareTraitClass in namespace WPEmerge\Middleware
Executes middleware.
HasMiddlewareDefinitionsInterface::expandMiddleware() — Method in class HasMiddlewareDefinitionsInterface
Expand array of middleware into an array of fully qualified class names.
HasMiddlewareDefinitionsInterface::expandMiddlewareGroup() — Method in class HasMiddlewareDefinitionsInterface
Expand a middleware group into an array of fully qualified class names.
HasMiddlewareDefinitionsInterface::expandMiddlewareMolecule() — Method in class HasMiddlewareDefinitionsInterface
Expand middleware into an array of fully qualified class names and any companion arguments.
HasMiddlewareDefinitionsInterface::expandMiddlewareAtom() — Method in class HasMiddlewareDefinitionsInterface
Expand a single middleware a fully qualified class name.
HasMiddlewareDefinitionsTrait::expandMiddleware() — Method in class HasMiddlewareDefinitionsTrait
Expand array of middleware into an array of fully qualified class names.
HasMiddlewareDefinitionsTrait::expandMiddlewareGroup() — Method in class HasMiddlewareDefinitionsTrait
Expand a middleware group into an array of fully qualified class names.
HasMiddlewareDefinitionsTrait::expandMiddlewareMolecule() — Method in class HasMiddlewareDefinitionsTrait
Expand middleware into an array of fully qualified class names and any companion arguments.
HasMiddlewareDefinitionsTrait::expandMiddlewareAtom() — Method in class HasMiddlewareDefinitionsTrait
Expand a single middleware a fully qualified class name.
ResponseService::error() — Method in class ResponseService
Get an error response, with status headers and rendering a suitable view as the body.
Router::execute() — Method in class Router
Assign and return the first satisfied route (if any) as the current one for the given request.
ExtendsConfigTraitClass in namespace WPEmerge\ServiceProviders
Allows objects to extend the config.
ExtendsConfigTrait::extendConfig() — Method in class ExtendsConfigTrait
Extends the WP Emerge config in the container with a new key.
Arr::except() — Method in class Arr
Get all of the given array except for a specified array of items.
Arr::exists() — Method in class Arr
Determine if the given key exists in the provided array.
NameProxyViewEngine::exists() — Method in class NameProxyViewEngine
Check if a view exists.
PhpViewEngine::exists() — Method in class PhpViewEngine
Check if a view exists.
PhpViewFilesystemFinder::exists() — Method in class PhpViewFilesystemFinder
Check if a view exists.
ViewFinderInterface::exists() — Method in class ViewFinderInterface
Check if a view exists.
ViewService::exists() — Method in class ViewService
Check if a view exists.

F

ApplicationMixin::flash() — Method in class ApplicationMixin
Get the Flash service instance.
Csrf::field() — Method in class Csrf
Return the markup for a hidden input which holds the current token.
FlashClass in namespace WPEmerge\Flash
Provide a way to flash data into the session for the next request.
FlashMiddlewareClass in namespace WPEmerge\Flash
Store current request data and clear old request data
FlashServiceProviderClass in namespace WPEmerge\Flash
Provide flash dependencies.
Arguments::flip() — Method in class Arguments
Get a closure which will flip preceding optional arguments around.
HttpKernel::filterRequest() — Method in class HttpKernel
Filter the main query vars.
HttpKernel::filterTemplateInclude() — Method in class HttpKernel
Filter the main template file.
Request::fromGlobals() — Method in class Request
Request::files() — Method in class Request
Get a value from the FILES parameters.
RequestInterface::files() — Method in class RequestInterface
Get a value from the FILES parameters.
Arr::first() — Method in class Arr
Get the first element in an array passing a given truth test.
Arr::forget() — Method in class Arr
Remove one or many array items from a given array using "dot" notation.

G

ApplicationTrait::getApplication() — Method in class ApplicationTrait
Get the Application instance.
GenericFactoryClass in namespace WPEmerge\Application
Generic class instance factory.
HasAliasesTrait::getAlias() — Method in class HasAliasesTrait
Get a registered alias.
Csrf::getToken() — Method in class Csrf
Get the last generated token.
Csrf::getTokenFromRequest() — Method in class Csrf
Get the csrf token from a request.
Csrf::generateToken() — Method in class Csrf
Generate a new token.
ErrorHandler::getResponse() — Method in class ErrorHandler
Get a response representing the specified exception.
ErrorHandlerInterface::getResponse() — Method in class ErrorHandlerInterface
Get a response representing the specified exception.
Flash::getStore() — Method in class Flash
Get the store for flash messages.
Flash::get() — Method in class Flash
Get the entire store or the values for a key for the current request.
Flash::getNext() — Method in class Flash
Get the entire store or the values for a key for the next request.
Handler::get() — Method in class Handler
Get the parsed handler
HasAttributesInterface::getAttribute() — Method in class HasAttributesInterface
Get attribute.
HasAttributesInterface::getAttributes() — Method in class HasAttributesInterface
Get all attributes.
HasAttributesTrait::getAttribute() — Method in class HasAttributesTrait
Get attribute.
HasAttributesTrait::getAttributes() — Method in class HasAttributesTrait
Get all attributes.
Url::getPath() — Method in class Url
Get the path for the request relative to the home url.
OldInput::get() — Method in class OldInput
Get request value for key from the previous request.
ControllerMiddleware::get() — Method in class ControllerMiddleware
Get middleware.
HasControllerMiddlewareInterface::getMiddleware() — Method in class HasControllerMiddlewareInterface
Get middleware.
HasControllerMiddlewareTrait::getMiddleware() — Method in class HasControllerMiddlewareTrait
Get middleware.
Request::getUrl() — Method in class Request
Request::getMethod() — Method in class Request
{@inheritDoc}
RequestInterface::getUrl() — Method in class RequestInterface
Alias for ::getUri().
AdminCondition::getArguments() — Method in class AdminCondition
Get an array of arguments for use in request
AjaxCondition::getArguments() — Method in class AjaxCondition
Get an array of arguments for use in request
ConditionInterface::getArguments() — Method in class ConditionInterface
Get an array of arguments for use in request
CustomCondition::getCallable() — Method in class CustomCondition
Get the assigned callable
CustomCondition::getArguments() — Method in class CustomCondition
Get an array of arguments for use in request
MultipleCondition::getConditions() — Method in class MultipleCondition
Get all assigned conditions
MultipleCondition::getArguments() — Method in class MultipleCondition
Get an array of arguments for use in request
NegateCondition::getArguments() — Method in class NegateCondition
Get an array of arguments for use in request
PostIdCondition::getArguments() — Method in class PostIdCondition
Get an array of arguments for use in request
PostSlugCondition::getArguments() — Method in class PostSlugCondition
Get an array of arguments for use in request
PostStatusCondition::getArguments() — Method in class PostStatusCondition
Get an array of arguments for use in request
PostTemplateCondition::getArguments() — Method in class PostTemplateCondition
Get an array of arguments for use in request
PostTypeCondition::getArguments() — Method in class PostTypeCondition
Get an array of arguments for use in request
QueryVarCondition::getArguments() — Method in class QueryVarCondition
Get an array of arguments for use in request
UrlCondition::getArguments() — Method in class UrlCondition
Get an array of arguments for use in request
UrlCondition::getUrl() — Method in class UrlCondition
Get the url for this condition.
UrlCondition::getUrlWhere() — Method in class UrlCondition
{@inheritDoc}
UrlCondition::getValidationPattern() — Method in class UrlCondition
Get pattern to test whether normal urls match the parameter-based one.
HasQueryFilterTrait::getAttribute() — Method in class HasQueryFilterTrait
Get attribute.
HasRoutesInterface::getRoutes() — Method in class HasRoutesInterface
Get routes.
HasRoutesTrait::getRoutes() — Method in class HasRoutesTrait
Get routes.
Route::getArguments() — Method in class Route
Get arguments.
RouteBlueprint::group() — Method in class RouteBlueprint
Create a route group.
RouteBlueprint::get() — Method in class RouteBlueprint
Match requests with a method of GET or HEAD.
RouteInterface::getArguments() — Method in class RouteInterface
Get arguments.
Router::getCurrentRoute() — Method in class Router
Get the current route.
Router::group() — Method in class Router
Create a route group.
Router::getRouteUrl() — Method in class Router
Get the url for a named route.
SortsMiddlewareTrait::getMiddlewarePriority() — Method in class SortsMiddlewareTrait
Get middleware execution priority.
SortsMiddlewareTrait::getMiddlewarePriorityForMiddleware() — Method in class SortsMiddlewareTrait
Get priority for a specific middleware.
Arr::get() — Method in class Arr
Get an item from an array using "dot" notation.
HasContextInterface::getContext() — Method in class HasContextInterface
Get context values.
HasContextTrait::getContext() — Method in class HasContextTrait
Get context values.
HasNameTrait::getName() — Method in class HasNameTrait
Get name.
NameProxyViewEngine::getDefaultBinding() — Method in class NameProxyViewEngine
Get the default binding
NameProxyViewEngine::getBindings() — Method in class NameProxyViewEngine
Get all bindings
NameProxyViewEngine::getBindingForFile() — Method in class NameProxyViewEngine
Get the engine key binding for a specific file
PhpView::getFilepath() — Method in class PhpView
Get filepath.
PhpView::getLayout() — Method in class PhpView
Get layout.
PhpViewEngine::getLayoutContent() — Method in class PhpViewEngine
Pop the top-most layout content from the stack, render and return it.
PhpViewFilesystemFinder::getDirectories() — Method in class PhpViewFilesystemFinder
Get the custom views directories.
ViewInterface::getName() — Method in class ViewInterface
Get name.
ViewService::getGlobals() — Method in class ViewService
Get global variables.
ViewService::getComposersForView() — Method in class ViewService
Get view composer.

H

HasAliasesTraitClass in namespace WPEmerge\Application
Add methods to classes at runtime.
HasAliasesTrait::hasAlias() — Method in class HasAliasesTrait
Get whether an alias is registered.
HasContainerTraitClass in namespace WPEmerge\Application
Holds an IoC container.
WordPressController::handle() — Method in class WordPressController
Default WordPress handler.
CsrfMiddleware::handle() — Method in class CsrfMiddleware
Reject requests that fail nonce validation.
FlashMiddleware::handle() — Method in class FlashMiddleware
{@inheritDoc}
HandlerClass in namespace WPEmerge\Helpers
Represent a generic handler - a Closure or a class method to be resolved from the service container
HandlerFactoryClass in namespace WPEmerge\Helpers
Handler factory.
HasAttributesInterfaceClass in namespace WPEmerge\Helpers
Represent an object which has an array of attributes.
HasAttributesTraitClass in namespace WPEmerge\Helpers
Represent an object which has an array of attributes.
OldInputMiddleware::handle() — Method in class OldInputMiddleware
{@inheritDoc}
HttpKernelClass in namespace WPEmerge\Kernels
Describes how a request is handled.
HttpKernel::handle() — Method in class HttpKernel
Return a response for the given request.
HttpKernelInterfaceClass in namespace WPEmerge\Kernels
Describes how a request is handled.
HttpKernelInterface::handle() — Method in class HttpKernelInterface
Return a response for the given request.
HasControllerMiddlewareInterfaceClass in namespace WPEmerge\Middleware
Interface for HasControllerMiddlewareTrait.
HasControllerMiddlewareTraitClass in namespace WPEmerge\Middleware
Allow objects to have controller middleware.
HasMiddlewareDefinitionsInterfaceClass in namespace WPEmerge\Middleware
Provide middleware definitions.
HasMiddlewareDefinitionsTraitClass in namespace WPEmerge\Middleware
Provide middleware definitions.
UserCanMiddleware::handle() — Method in class UserCanMiddleware
{@inheritDoc}
UserLoggedInMiddleware::handle() — Method in class UserLoggedInMiddleware
{@inheritDoc}
UserLoggedOutMiddleware::handle() — Method in class UserLoggedOutMiddleware
{@inheritDoc}
Request::headers() — Method in class Request
Get a value from the headers.
RequestInterface::headers() — Method in class RequestInterface
Get a value from the headers.
HasQueryFilterInterfaceClass in namespace WPEmerge\Routing
Represent an object which has a WordPress query filter.
HasQueryFilterTraitClass in namespace WPEmerge\Routing
Represent an object which has a WordPress query filter attribute.
HasRoutesInterfaceClass in namespace WPEmerge\Routing
Interface for HasRoutesTrait
HasRoutesTraitClass in namespace WPEmerge\Routing
Allow objects to have routes
RouteBlueprint::handle() — Method in class RouteBlueprint
Create a route.
Arr::has() — Method in class Arr
Check if an item or items exist in an array using "dot" notation.
HasContextInterfaceClass in namespace WPEmerge\View
HasContextTraitClass in namespace WPEmerge\View
HasNameTraitClass in namespace WPEmerge\View

I

Application::isBootstrapped() — Method in class Application
Get whether the application has been bootstrapped.
ApplicationMixin::isBootstrapped() — Method in class ApplicationMixin
Get whether the application has been bootstrapped.
$ApplicationTrait#instanceProperty in class ApplicationTrait
Application instance.
Csrf::isValidToken() — Method in class Csrf
Check if a token is valid.
InvalidCsrfTokenExceptionClass in namespace WPEmerge\Csrf
MixedType::isClass() — Method in class MixedType
Check if a value is a valid class name
MixedType::instantiate() — Method in class MixedType
Create a new instance of the given class.
Request::isGet() — Method in class Request
Check if the request method is GET.
Request::isHead() — Method in class Request
Check if the request method is HEAD.
Request::isPost() — Method in class Request
Check if the request method is POST.
Request::isPut() — Method in class Request
Check if the request method is PUT.
Request::isPatch() — Method in class Request
Check if the request method is PATCH.
Request::isDelete() — Method in class Request
Check if the request method is DELETE.
Request::isOptions() — Method in class Request
Check if the request method is OPTIONS.
Request::isReadVerb() — Method in class Request
Check if the request method is a "read" verb.
Request::isAjax() — Method in class Request
Check if the request is an ajax request.
RequestInterface::isGet() — Method in class RequestInterface
Check if the request method is GET.
RequestInterface::isHead() — Method in class RequestInterface
Check if the request method is HEAD.
RequestInterface::isPost() — Method in class RequestInterface
Check if the request method is POST.
RequestInterface::isPut() — Method in class RequestInterface
Check if the request method is PUT.
RequestInterface::isPatch() — Method in class RequestInterface
Check if the request method is PATCH.
RequestInterface::isDelete() — Method in class RequestInterface
Check if the request method is DELETE.
RequestInterface::isOptions() — Method in class RequestInterface
Check if the request method is OPTIONS.
RequestInterface::isReadVerb() — Method in class RequestInterface
Check if the request method is a "read" verb.
RequestInterface::isAjax() — Method in class RequestInterface
Check if the request is an ajax request.
AdminCondition::isSatisfied() — Method in class AdminCondition
Get whether the condition is satisfied
AjaxCondition::isSatisfied() — Method in class AjaxCondition
Get whether the condition is satisfied
ConditionInterface::isSatisfied() — Method in class ConditionInterface
Get whether the condition is satisfied
CustomCondition::isSatisfied() — Method in class CustomCondition
Get whether the condition is satisfied
MultipleCondition::isSatisfied() — Method in class MultipleCondition
Get whether the condition is satisfied
NegateCondition::isSatisfied() — Method in class NegateCondition
Get whether the condition is satisfied
PostIdCondition::isSatisfied() — Method in class PostIdCondition
Get whether the condition is satisfied
PostSlugCondition::isSatisfied() — Method in class PostSlugCondition
Get whether the condition is satisfied
PostStatusCondition::isSatisfied() — Method in class PostStatusCondition
Get whether the condition is satisfied
PostTemplateCondition::isSatisfied() — Method in class PostTemplateCondition
Get whether the condition is satisfied
PostTypeCondition::isSatisfied() — Method in class PostTypeCondition
Get whether the condition is satisfied
QueryVarCondition::isSatisfied() — Method in class QueryVarCondition
Get whether the condition is satisfied
UrlCondition::isSatisfied() — Method in class UrlCondition
Get whether the condition is satisfied
Route::isSatisfied() — Method in class Route
Get whether the route is satisfied.
RouteInterface::isSatisfied() — Method in class RouteInterface
Get whether the route is satisfied.
Arr::isAssoc() — Method in class Arr
Determines if an array is associative.

J

ApplicationMixin::json() — Method in class ApplicationMixin
Create a response with the specified data encoded as JSON as its body.
ResponseService::json() — Method in class ResponseService
Get a cloned response, json encoding the passed data as the body.

K

KernelsServiceProviderClass in namespace WPEmerge\Kernels
Provide old input dependencies.

L

ApplicationMixin::layoutContent() — Method in class ApplicationMixin
Output child layout content.
LoadsServiceProvidersTraitClass in namespace WPEmerge\Application
Load service providers.
Arr::last() — Method in class Arr
Get the last element in an array passing a given truth test.

M

Application::make() — Method in class Application
Make a new application instance.
ApplicationTrait::make() — Method in class ApplicationTrait
Make and assign a new application instance.
ClosureFactory::method() — Method in class ClosureFactory
Make a closure that resolves a class instance from the container and calls one of its methods.
GenericFactory::make() — Method in class GenericFactory
Make a class instance.
Handler::make() — Method in class Handler
Make an instance of the handler.
HandlerFactory::make() — Method in class HandlerFactory
Make a Handler.
MixedTypeClass in namespace WPEmerge\Helpers
HasControllerMiddlewareInterface::middleware() — Method in class HasControllerMiddlewareInterface
Fluent alias for addMiddleware().
HasControllerMiddlewareTrait::middleware() — Method in class HasControllerMiddlewareTrait
Fluent alias for addMiddleware().
MiddlewareServiceProviderClass in namespace WPEmerge\Middleware
Provide middleware dependencies.
ConditionFactory::make() — Method in class ConditionFactory
Create a new condition.
ConditionFactory::merge() — Method in class ConditionFactory
Merge group condition attribute.
ConditionFactory::mergeConditions() — Method in class ConditionFactory
Merge condition instances.
MultipleConditionClass in namespace WPEmerge\Routing\Conditions
Check against an array of conditions in an AND logical relationship.
RouteBlueprint::methods() — Method in class RouteBlueprint
Match requests using one of the specified methods.
RouteBlueprint::middleware() — Method in class RouteBlueprint
Set the middleware attribute.
Router::mergeMethodsAttribute() — Method in class Router
Merge the methods attribute combining values.
Router::mergeConditionAttribute() — Method in class Router
Merge the condition attribute.
Router::mergeMiddlewareAttribute() — Method in class Router
Merge the middleware attribute combining values.
Router::mergeNamespaceAttribute() — Method in class Router
Merge the namespace attribute taking the latest value.
Router::mergeHandlerAttribute() — Method in class Router
Merge the handler attribute taking the latest value.
Router::mergeQueryAttribute() — Method in class Router
Merge the handler attribute taking the latest value.
Router::mergeNameAttribute() — Method in class Router
Merge the name attribute combining values with a dot.
Router::mergeAttributes() — Method in class Router
Merge attributes into route.
NameProxyViewEngine::make() — Method in class NameProxyViewEngine
Create a view instance from the first view name that exists.
PhpViewEngine::make() — Method in class PhpViewEngine
Create a view instance from the first view name that exists.
ViewEngineInterface::make() — Method in class ViewEngineInterface
Create a view instance from the first view name that exists.
ViewService::make() — Method in class ViewService
Create a view instance from the first view name that exists.

N

MixedType::normalizePath() — Method in class MixedType
Normalize a path's slashes according to the current OS.
NegateConditionClass in namespace WPEmerge\Routing\Conditions
Negate another condition's result.
NotFoundExceptionClass in namespace WPEmerge\Routing
RouteBlueprint::name() — Method in class RouteBlueprint
Set the name attribute.
NameProxyViewEngineClass in namespace WPEmerge\View
Render view files with different engines depending on their filename

O

ApplicationMixin::oldInput() — Method in class ApplicationMixin
Get the OldInput service instance.
ApplicationMixin::output() — Method in class ApplicationMixin
Create a response with the specified string as its body.
OldInputClass in namespace WPEmerge\Input
Provide a way to get values from the previous request.
OldInputMiddlewareClass in namespace WPEmerge\Input
Store current request data and clear old request data
OldInputServiceProviderClass in namespace WPEmerge\Input
Provide old input dependencies.
ControllerMiddleware::only() — Method in class ControllerMiddleware
Set methods the middleware should apply to.
ResponseService::output() — Method in class ResponseService
Get a cloned response with the passed string as the body.
RouteBlueprint::options() — Method in class RouteBlueprint
Match requests with a method of OPTIONS.
Arr::only() — Method in class Arr
Get a subset of the items from the given array.

P

PostIdConditionClass in namespace WPEmerge\Routing\Conditions
Check against the current post's id.
PostSlugConditionClass in namespace WPEmerge\Routing\Conditions
Check against the current post's slug.
PostStatusConditionClass in namespace WPEmerge\Routing\Conditions
Check against the current post's status.
PostTemplateConditionClass in namespace WPEmerge\Routing\Conditions
Check against the current post's template.
PostTypeConditionClass in namespace WPEmerge\Routing\Conditions
Check against the current post's type.
RouteBlueprint::post() — Method in class RouteBlueprint
Match requests with a method of POST.
RouteBlueprint::put() — Method in class RouteBlueprint
Match requests with a method of PUT.
RouteBlueprint::patch() — Method in class RouteBlueprint
Match requests with a method of PATCH.
Arr::pluck() — Method in class Arr
Pluck an array of values from an array.
Arr::prepend() — Method in class Arr
Push an item onto the beginning of an array.
Arr::pull() — Method in class Arr
Get a value from the array, and remove it.
PhpViewClass in namespace WPEmerge\View
Render a view file with php.
PhpViewEngineClass in namespace WPEmerge\View
Render view files with php.
PhpViewEngine::pushLayoutContent() — Method in class PhpViewEngine
Push layout content to the top of the stack.
PhpViewEngine::popLayoutContent() — Method in class PhpViewEngine
Pop the top-most layout content from the stack.
PhpViewFilesystemFinderClass in namespace WPEmerge\View
Render view files with php.

Q

Request::query() — Method in class Request
Get a value from the request query (i.e. $_GET).
RequestInterface::query() — Method in class RequestInterface
Get a value from the request query (i.e. $_GET).
QueryVarConditionClass in namespace WPEmerge\Routing\Conditions
Check against a query var value.
RouteBlueprint::query() — Method in class RouteBlueprint
Set the query attribute.

R

Application::renderConfigExceptions() — Method in class Application
Catch any configuration exceptions and short-circuit to an error page.
ApplicationMixin::resolve() — Method in class ApplicationMixin
Resolve a dependency from the IoC container.
ApplicationMixin::run() — Method in class ApplicationMixin
Run a full middleware + handler pipeline independently of routes.
ApplicationMixin::responses() — Method in class ApplicationMixin
Get the ResponseService instance.
ApplicationMixin::response() — Method in class ApplicationMixin
Create a "blank" response.
ApplicationMixin::redirect() — Method in class ApplicationMixin
Create a redirect response.
ApplicationMixin::route() — Method in class ApplicationMixin
Create a new route.
ApplicationMixin::render() — Method in class ApplicationMixin
Output the specified view.
ApplicationServiceProvider::register() — Method in class ApplicationServiceProvider
Register all dependencies in the IoC container.
HasAliasesTrait::resolve() — Method in class HasAliasesTrait
Resolve a dependency from the IoC container.
HasContainerTrait::resolve() — Method in class HasContainerTrait
Resolve a dependency from the IoC container.
ControllersServiceProvider::register() — Method in class ControllersServiceProvider
Register all dependencies in the IoC container.
CsrfServiceProvider::register() — Method in class CsrfServiceProvider
Register all dependencies in the IoC container.
ErrorHandler::register() — Method in class ErrorHandler
Register any necessary error, exception and shutdown handlers.
ErrorHandlerInterface::register() — Method in class ErrorHandlerInterface
Register any necessary error, exception and shutdown handlers.
ExceptionsServiceProvider::register() — Method in class ExceptionsServiceProvider
Register all dependencies in the IoC container.
DebugDataProvider::route() — Method in class DebugDataProvider
Return pritable data about the current route.
FlashServiceProvider::register() — Method in class FlashServiceProvider
Register all dependencies in the IoC container.
MixedType::removeTrailingSlash() — Method in class MixedType
Ensure path does not have a trailing slash.
Url::removeLeadingSlash() — Method in class Url
Ensure url does not have a leading slash
Url::removeTrailingSlash() — Method in class Url
Ensure url does not have a trailing slash
OldInputServiceProvider::register() — Method in class OldInputServiceProvider
Register all dependencies in the IoC container.
HttpKernel::run() — Method in class HttpKernel
Run a response pipeline for the given request.
HttpKernel::respond() — Method in class HttpKernel
Respond with the current response.
HttpKernel::registerAjaxAction() — Method in class HttpKernel
Register ajax action to hook into current one.
HttpKernel::registerAdminAction() — Method in class HttpKernel
Register admin action to hook into current one.
HttpKernelInterface::run() — Method in class HttpKernelInterface
Run a response pipeline for the given request.
KernelsServiceProvider::register() — Method in class KernelsServiceProvider
Register all dependencies in the IoC container.
MiddlewareServiceProvider::register() — Method in class MiddlewareServiceProvider
Register all dependencies in the IoC container.
ReadsHandlerMiddlewareTraitClass in namespace WPEmerge\Middleware
Describes how a request is handled.
RequestClass in namespace WPEmerge\Requests
A representation of a request to the server.
RequestInterfaceClass in namespace WPEmerge\Requests
A representation of a request to the server.
RequestsServiceProviderClass in namespace WPEmerge\Requests
Provide request dependencies.
RequestsServiceProvider::register() — Method in class RequestsServiceProvider
Register all dependencies in the IoC container.
RedirectResponseClass in namespace WPEmerge\Responses
A collection of tools for the creation of responses
ResponsableInterfaceClass in namespace WPEmerge\Responses
ResponseServiceClass in namespace WPEmerge\Responses
A collection of tools for the creation of responses.
ResponseService::respond() — Method in class ResponseService
Send output based on a response object.
ResponseService::response() — Method in class ResponseService
Create a new response object.
ResponseService::redirect() — Method in class ResponseService
Get a cloned response, with location and status headers.
ResponsesServiceProviderClass in namespace WPEmerge\Responses
Provide responses dependencies.
ResponsesServiceProvider::register() — Method in class ResponsesServiceProvider
Register all dependencies in the IoC container.
HasRoutesInterface::removeRoute() — Method in class HasRoutesInterface
Remove a route.
HasRoutesTrait::removeRoute() — Method in class HasRoutesTrait
Remove a route.
RouteClass in namespace WPEmerge\Routing
Represent a route
RouteBlueprintClass in namespace WPEmerge\Routing
Provide a fluent interface for registering routes with the router.
RouteInterfaceClass in namespace WPEmerge\Routing
Interface that routes must implement
RouterClass in namespace WPEmerge\Routing
Provide routing for site requests (i.e. all non-api requests).
Router::route() — Method in class Router
Make a route.
RoutingServiceProviderClass in namespace WPEmerge\Routing
Provide routing dependencies
RoutingServiceProvider::register() — Method in class RoutingServiceProvider
Register all dependencies in the IoC container.
ServiceProviderInterface::register() — Method in class ServiceProviderInterface
Register all dependencies in the IoC container.
PhpViewFilesystemFinder::resolveFilepath() — Method in class PhpViewFilesystemFinder
Resolve a view to an absolute filepath.
ViewService::render() — Method in class ViewService
Render a view.
ViewServiceProvider::register() — Method in class ViewServiceProvider
Register all dependencies in the IoC container.

S

ApplicationMixin::setContainer() — Method in class ApplicationMixin
Set the IoC container instance.
ApplicationTrait::setApplication() — Method in class ApplicationTrait
Set the Application instance.
HasAliasesTrait::setAlias() — Method in class HasAliasesTrait
Register an alias.
HasContainerTrait::setContainer() — Method in class HasContainerTrait
Set the IoC container instance.
Flash::setStore() — Method in class Flash
Set the store for flash messages.
Flash::shift() — Method in class Flash
Shift current store and replace it with next store.
Flash::save() — Method in class Flash
Save flashed data to store.
HasAttributesInterface::setAttribute() — Method in class HasAttributesInterface
Set attribute.
HasAttributesInterface::setAttributes() — Method in class HasAttributesInterface
Set attributes.
HasAttributesTrait::setAttribute() — Method in class HasAttributesTrait
Set attribute.
HasAttributesTrait::setAttributes() — Method in class HasAttributesTrait
Set all attributes.
OldInput::set() — Method in class OldInput
Set input for the next request.
HasMiddlewareDefinitionsInterface::setMiddleware() — Method in class HasMiddlewareDefinitionsInterface
Register middleware.
HasMiddlewareDefinitionsInterface::setMiddlewareGroups() — Method in class HasMiddlewareDefinitionsInterface
Register middleware groups.
HasMiddlewareDefinitionsTrait::setMiddleware() — Method in class HasMiddlewareDefinitionsTrait
Register middleware.
HasMiddlewareDefinitionsTrait::setMiddlewareGroups() — Method in class HasMiddlewareDefinitionsTrait
Register middleware groups.
Request::server() — Method in class Request
Get a value from the SERVER parameters.
RequestInterface::server() — Method in class RequestInterface
Get a value from the SERVER parameters.
ResponseService::sendHeaders() — Method in class ResponseService
Send a request's headers to the client.
ResponseService::sendBody() — Method in class ResponseService
Send a request's body to the client.
UrlCondition::setUrl() — Method in class UrlCondition
Set the url for this condition.
UrlCondition::setUrlWhere() — Method in class UrlCondition
{@inheritDoc}
RouteBlueprint::setNamespace() — Method in class RouteBlueprint
Set the namespace attribute.
Router::setCurrentRoute() — Method in class Router
Set the current route.
SortsMiddlewareTraitClass in namespace WPEmerge\Routing
Provide middleware sorting.
SortsMiddlewareTrait::setMiddlewarePriority() — Method in class SortsMiddlewareTrait
Set middleware execution priority.
SortsMiddlewareTrait::sortMiddleware() — Method in class SortsMiddlewareTrait
Sort array of fully qualified middleware class names by priority in ascending order.
ServiceProviderInterfaceClass in namespace WPEmerge\ServiceProviders
Interface that service providers must implement
Arr::set() — Method in class Arr
Set an array item to a given value using "dot" notation.
Arr::shuffle() — Method in class Arr
Shuffle the given array and return the result.
Arr::sortRecursive() — Method in class Arr
Recursively sort an array by keys and values.
HasNameTrait::setName() — Method in class HasNameTrait
Set name.
PhpView::setFilepath() — Method in class PhpView
Set filepath.
PhpView::setLayout() — Method in class PhpView
Set layout.
PhpViewFilesystemFinder::setDirectories() — Method in class PhpViewFilesystemFinder
Set the custom views directories.
ViewInterface::setName() — Method in class ViewInterface
Set name.

T

DebugDataProvider::toScalar() — Method in class DebugDataProvider
Convert a value to a scalar representation.
MixedType::toArray() — Method in class MixedType
Converts a value to an array containing this value unless it is an array.
RedirectResponse::to() — Method in class RedirectResponse
Get a response redirecting to a specific url.
ResponsableInterface::toResponse() — Method in class ResponsableInterface
Convert to Psr\Http\Message\ResponseInterface.
AdminCondition::toUrl() — Method in class AdminCondition
Convert to URL.
AjaxCondition::toUrl() — Method in class AjaxCondition
Convert to URL.
PostIdCondition::toUrl() — Method in class PostIdCondition
Convert to URL.
UrlCondition::toUrl() — Method in class UrlCondition
Convert to URL.
UrlableInterface::toUrl() — Method in class UrlableInterface
Convert to URL.
PhpView::toString() — Method in class PhpView
Render the view to a string.
PhpView::toResponse() — Method in class PhpView
Convert to Psr\Http\Message\ResponseInterface.
ViewInterface::toString() — Method in class ViewInterface
Render the view to a string.
ViewService::triggerPartialHooks() — Method in class ViewService
Trigger core hooks for a partial, if any.

U

Csrf::url() — Method in class Csrf
Add the token to a URL.
ErrorHandler::unregister() — Method in class ErrorHandler
Unregister any registered error, exception and shutdown handlers.
ErrorHandlerInterface::unregister() — Method in class ErrorHandlerInterface
Unregister any registered error, exception and shutdown handlers.
UrlClass in namespace WPEmerge\Helpers
A collection of tools dealing with URLs.
HasMiddlewareDefinitionsInterface::uniqueMiddleware() — Method in class HasMiddlewareDefinitionsInterface
Filter array of middleware into a unique set.
HasMiddlewareDefinitionsTrait::uniqueMiddleware() — Method in class HasMiddlewareDefinitionsTrait
Filter array of middleware into a unique set.
UserCanMiddlewareClass in namespace WPEmerge\Middleware
Redirect users who do not have a capability to a specific URL.
UserLoggedInMiddlewareClass in namespace WPEmerge\Middleware
Redirect non-logged in users to a specific URL.
UserLoggedOutMiddlewareClass in namespace WPEmerge\Middleware
Redirect logged in users to a specific URL.
UrlConditionClass in namespace WPEmerge\Routing\Conditions
Check against the current url
UrlableInterfaceClass in namespace WPEmerge\Routing\Conditions
Interface signifying that an object can be converted to a URL.
RouteBlueprint::url() — Method in class RouteBlueprint
Set the condition attribute to a URL.

V

ApplicationMixin::views() — Method in class ApplicationMixin
Get the ViewService instance.
ApplicationMixin::view() — Method in class ApplicationMixin
Create a view.
ClosureFactory::value() — Method in class ClosureFactory
Make a closure that resolves a value from the container.
MixedType::value() — Method in class MixedType
Executes a value depending on what type it is and returns the result Callable: call; return result Instance: call method; return result Class: instantiate; call method; return result Other: return value without taking any action
RouteBlueprint::view() — Method in class RouteBlueprint
Handle a request by directly rendering a view.
ViewEngineInterfaceClass in namespace WPEmerge\View
Interface that view engines must implement
ViewExceptionClass in namespace WPEmerge\View
ViewFinderInterfaceClass in namespace WPEmerge\View
Interface that view finders must implement.
ViewInterfaceClass in namespace WPEmerge\View
Represent and render a view to a string.
ViewNotFoundExceptionClass in namespace WPEmerge\View
ViewServiceClass in namespace WPEmerge\View
Provide general view-related functionality.
ViewServiceProviderClass in namespace WPEmerge\View
Provide view dependencies

W

WordPressControllerClass in namespace WPEmerge\Controllers
Handles normal WordPress requests without interfering Useful if you only want to add a middleware to a route without handling the output
RouteBlueprint::where() — Method in class RouteBlueprint
Set the condition attribute.
HasContextInterface::with() — Method in class HasContextInterface
Add context values.
HasContextTrait::with() — Method in class HasContextTrait
Add context values.

_

Application::__construct() — Method in class Application
Constructor.
ApplicationTrait::__callStatic() — Method in class ApplicationTrait
Invoke any matching instance method for the static method being called.
ClosureFactory::__construct() — Method in class ClosureFactory
Constructor.
GenericFactory::__construct() — Method in class GenericFactory
Constructor.
HasAliasesTrait::__call() — Method in class HasAliasesTrait
Call alias if registered.
WordPressController::__construct() — Method in class WordPressController
Constructor.
Csrf::__construct() — Method in class Csrf
Constructor.
CsrfMiddleware::__construct() — Method in class CsrfMiddleware
Constructor.
ErrorHandler::__construct() — Method in class ErrorHandler
Constructor.
DebugDataProvider::__construct() — Method in class DebugDataProvider
Constructor.
Flash::__construct() — Method in class Flash
Constructor.
FlashMiddleware::__construct() — Method in class FlashMiddleware
Constructor.
Handler::__construct() — Method in class Handler
Constructor
HandlerFactory::__construct() — Method in class HandlerFactory
Constructor.
OldInput::__construct() — Method in class OldInput
Constructor.
OldInputMiddleware::__construct() — Method in class OldInputMiddleware
Constructor.
HttpKernel::__construct() — Method in class HttpKernel
Constructor.
ControllerMiddleware::__construct() — Method in class ControllerMiddleware
Constructor.
UserCanMiddleware::__construct() — Method in class UserCanMiddleware
Constructor.
UserLoggedInMiddleware::__construct() — Method in class UserLoggedInMiddleware
Constructor.
UserLoggedOutMiddleware::__construct() — Method in class UserLoggedOutMiddleware
Constructor.
RedirectResponse::__construct() — Method in class RedirectResponse
Constructor.
ResponseService::__construct() — Method in class ResponseService
Constructor.
AdminCondition::__construct() — Method in class AdminCondition
Constructor
AjaxCondition::__construct() — Method in class AjaxCondition
Constructor
ConditionFactory::__construct() — Method in class ConditionFactory
Constructor.
CustomCondition::__construct() — Method in class CustomCondition
Constructor
MultipleCondition::__construct() — Method in class MultipleCondition
Constructor.
NegateCondition::__construct() — Method in class NegateCondition
Constructor.
PostIdCondition::__construct() — Method in class PostIdCondition
Constructor
PostSlugCondition::__construct() — Method in class PostSlugCondition
Constructor
PostStatusCondition::__construct() — Method in class PostStatusCondition
Constructor
PostTemplateCondition::__construct() — Method in class PostTemplateCondition
Constructor
PostTypeCondition::__construct() — Method in class PostTypeCondition
Constructor
QueryVarCondition::__construct() — Method in class QueryVarCondition
Constructor.
UrlCondition::__construct() — Method in class UrlCondition
Constructor.
RouteBlueprint::__construct() — Method in class RouteBlueprint
Constructor.
Router::__construct() — Method in class Router
Constructor.
NameProxyViewEngine::__construct() — Method in class NameProxyViewEngine
Constructor
PhpView::__construct() — Method in class PhpView
Constructor.
PhpViewEngine::__construct() — Method in class PhpViewEngine
Constructor.
PhpViewFilesystemFinder::__construct() — Method in class PhpViewFilesystemFinder
Constructor.
ViewService::__construct() — Method in class ViewService
Constructor.