PostTypesRegistry
in package
Tags
Table of Contents
- $postTypes : array<string|int, AbstractPostType>
- booking() : BookingPostType
- coupon() : CouponPostType
- employee() : EmployeePostType
- getPostType() : AbstractPostType|null
- getPostTypes() : array<string|int, mixed>
- location() : LocationPostType
- notification() : NotificationPostType
- payment() : PaymentPostType
- registerAll() : mixed
- reservation() : ReservationPostType
- schedule() : SchedulePostType
- service() : ServicePostType
- shortcode() : ShortcodePostType
Properties
$postTypes
protected
array<string|int, AbstractPostType>
$postTypes
= []
Tags
Methods
booking()
public
booking() : BookingPostType
Tags
Return values
BookingPostType —coupon()
public
coupon() : CouponPostType
Tags
Return values
CouponPostType —employee()
public
employee() : EmployeePostType
Tags
Return values
EmployeePostType —getPostType()
public
getPostType(string $postType) : AbstractPostType|null
Parameters
- $postType : string
Tags
Return values
AbstractPostType|null —getPostTypes()
public
getPostTypes() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —location()
public
location() : LocationPostType
Tags
Return values
LocationPostType —notification()
public
notification() : NotificationPostType
Tags
Return values
NotificationPostType —payment()
public
payment() : PaymentPostType
Tags
Return values
PaymentPostType —registerAll()
public
registerAll() : mixed
Tags
Return values
mixed —reservation()
public
reservation() : ReservationPostType
Tags
Return values
ReservationPostType —schedule()
public
schedule() : SchedulePostType
Tags
Return values
SchedulePostType —service()
public
service() : ServicePostType
Tags
Return values
ServicePostType —shortcode()
public
shortcode() : ShortcodePostType