file-fetcher
|
Public Member Functions | |
getInstance (string $identifier, array $config=[]) | |
Contracts\Mock\Storage\MemoryFactory::getInstance | ( | string | $identifier, |
array | $config = [] |
||
) |
Construct or deliver an object of the expected class.
For example a MemoryStorage factory should return MemoryStorage objects.
string | $identifier | Some way to discern between different instances of a class. |
Implements Contracts\FactoryInterface.