TypeBuilder
in package
Builds Types from type definitions
Tags
Table of Contents
Properties
Methods
- __construct() : mixed
- Constructor
- build() : Type
- Build a new Type object corresponding to a resource record type
Properties
$typeFactory
private
TypeFactory
$typeFactory
Methods
__construct()
Constructor
public
__construct(TypeFactory $typeFactory) : mixed
Parameters
- $typeFactory : TypeFactory
build()
Build a new Type object corresponding to a resource record type
public
build(int $type) : Type
Parameters
- $type : int
-
Data type, can be indicated using the Types enum