Method implements iMethod
Class Method
Table of Contents
Interfaces
Constants
Methods
- __construct() : mixed
- Constructor.
- apply() : void
- Apply method.
- canChange() : bool
- Check change possibility.
- defer() : void
- Set defer method.
- get() : iMethod
- Get method.
- getCode() : string
- Get code.
- now() : void
- Set time method with current time.
- revoke() : void
- Revoke method.
- set() : mixed
- Set method.
- time() : void
- Set time method.
Constants
DEFERED
public
mixed
DEFERED
= 'defered'
SCHEDULE
public
mixed
SCHEDULE
= 'schedule'
TIME
public
mixed
TIME
= 'time'
Methods
__construct()
Constructor.
public
__construct(Letter $letter) : mixed
Parameters
- $letter : Letter
-
Letter.
apply()
Apply method.
public
apply() : void
canChange()
Check change possibility.
public
canChange() : bool
Return values
booldefer()
Set defer method.
public
defer() : void
get()
Get method.
public
get() : iMethod
Return values
iMethodgetCode()
Get code.
public
getCode() : string
Return values
stringnow()
Set time method with current time.
public
now() : void
revoke()
Revoke method.
public
revoke() : void
set()
Set method.
public
set(iMethod $method) : mixed
Parameters
- $method : iMethod
-
Method.
time()
Set time method.
public
time(DateTime $dateTime) : void
Parameters
- $dateTime : DateTime
-
Date.