ResourceFactory
in package
Creates Resource objects
Tags
Table of Contents
Methods
Methods
create()
Create a new Resource object
public
create(int $type, RData $data) : Resource
Parameters
- $type : int
-
Can be indicated using the ResourceTypes enum
- $data : RData