WaiterFactoryInterface
in
Waiter factory used to create waiter objects by short names
Table of Contents
Methods
- build() : WaiterInterface
- Create a waiter by name
- canBuild() : bool
- Check if the factory can create a waiter by a specific name
Methods
build()
Create a waiter by name
public
build(string $waiter) : WaiterInterface
Parameters
- $waiter : string
-
Name of the waiter to create
Return values
WaiterInterfacecanBuild()
Check if the factory can create a waiter by a specific name
public
canBuild(string $waiter) : bool
Parameters
- $waiter : string
-
Name of the waiter to check