class AccessControlRule implements JsonSerializable

Class AccessControlRule

Methods

__construct(string $accessType, DateTime $start = null, DateTime $end = null)

AccessControlRule constructor.

jsonSerialize()

No description

Details

__construct(string $accessType, DateTime $start = null, DateTime $end = null)

AccessControlRule constructor.

Parameters

Name Type Description
$accessType string The type of the access. Use the constants defined in the AccessType class.
$start DateTime The start time.
$end DateTime The end time.

See also

AccessType for available types.

jsonSerialize()