ServiceComponent
in package
AbstractYes
Abstract class representing a service component.
Provides a template to generate service components such as adjustments, rate types, file upload types, etc.
Tags
Table of Contents
Properties
- $ID : int
- The post ID.
- $service_ids : array<string|int, mixed>
- Service IDs.
- $slug : string
- The post name.
- $title : string
- The post title.
Methods
- __construct() : mixed
- Constructor method.
Properties
$ID
The post ID.
public
int
$ID
$service_ids
Service IDs.
public
array<string|int, mixed>
$service_ids
An array of service IDs that use the component.
$slug
The post name.
public
string
$slug
$title
The post title.
public
string
$title
Methods
__construct()
Constructor method.
public
__construct(int $post_id) : mixed
Parameters
- $post_id : int