\CryptoManana\Core\Interfaces\DesignPatternsStaticCallInstancingInterface

Interface StaticCallInstancingInterface - Static calls to object instancing.

Summary

Methods
Constants
createInstance()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

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.