\CryptoManana\Core\Abstractions\DesignPatternsAbstractFactory

Class AbstractFactory - Abstraction for the factory design pattern.

Summary

Methods
Properties
Constants
__construct()
create()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct() 

Factory constructor.

create()

create(string|integer|null  $type) : object|null

Dynamic call method for object instancing.

Parameters

string|integer|null $type

Object type.

Returns

object|null —

Instance of an object.