get()
get(string $type) : callable
Get the factory for the specified repository type.
Parameters
string |
$type |
The repository type to get the factory for. |
Throws
- \InvalidArgumentException
If the specified repository type has no factory.
Returns
callable
— The factory for the repository type.