AbstractFinalTrait
Abstract final trait
Tags
Table of Contents
- $abstract : bool
- Method abstract flag
- $final : bool
- Method final flag
- isAbstract() : bool
- Get the method abstract flag
- isFinal() : bool
- Get the method final flag
- setAsAbstract() : AbstractFinalTrait
- Set the method abstract flag
- setAsFinal() : AbstractFinalTrait
- Set the method final flag
Properties
$abstract
Method abstract flag
protected
bool
$abstract
= false
$final
Method final flag
protected
bool
$final
= false
Methods
isAbstract()
Get the method abstract flag
public
isAbstract() : bool
Return values
bool —isFinal()
Get the method final flag
public
isFinal() : bool
Return values
bool —setAsAbstract()
Set the method abstract flag
public
setAsAbstract([bool $abstract = true ]) : AbstractFinalTrait
Parameters
- $abstract : bool = true
Return values
AbstractFinalTrait —setAsFinal()
Set the method final flag
public
setAsFinal([bool $final = true ]) : AbstractFinalTrait
Parameters
- $final : bool = true