createInstance()
createInstance(string|integer|null $type) : object|null
Static call method for object instancing.
Parameters
string|integer|null | $type | Object type. |
Returns
object|null —Instance of an object.