Controller Uses Mutator

Abstract controller class.

Tags
OA\Server

(url="/wp-json/hivepress/v1", description="")

OA\Info

( title="HivePress REST API", version="1.0", description="This is a reference of all the endpoints available in HivePress REST API. Since it's based on WordPress REST API, you can refer to the WordPress documentation for the available authentication methods and more details." )

Table of Contents

$routes  : array<string|int, mixed>
Controller routes.
__construct()  : mixed
Class constructor.
get_routes()  : array<string|int, mixed>
Gets controller routes.
boot()  : mixed
Bootstraps controller properties.
set_property()  : mixed
Sets a property value.

Properties

Methods

__construct()

Class constructor.

public __construct([array<string|int, mixed> $args = [] ]) : mixed
Parameters
$args : array<string|int, mixed> = []

Controller arguments.

Return values
mixed

set_property()

Sets a property value.

protected final set_property(string $name, mixed $value[, string $prefix = '' ]) : mixed
Parameters
$name : string

Property name.

$value : mixed

Property value.

$prefix : string = ''

Method prefix.

Return values
mixed