You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->message = 'Your database connection is currently unsupported! The following database connections are supported: ' . implode(', ', $supportedDatabaseConnections);
@@ -58,24 +67,28 @@ final class TypeScriptifyModel {
58
67
/**
59
68
* @param string $fullyQualifiedModelName The fully qualified model class name.
60
69
* @param ?array<string,string> $convertedModelsMap The map of `fully qualified model name => interface name` definitions this class can use instead of generating its own definitions.
70
+
* @param ?string $modelCollectorPath The path to be used for scanning for models.
61
71
*/
62
72
publicfunction__construct(
63
73
privatestring$fullyQualifiedModelName,
64
-
private ?array &$convertedModelsMap = []
74
+
private ?array &$convertedModelsMap = [],
75
+
private ?string$modelCollectorPath = null,
65
76
) {
66
77
// For consistency in comparisons that happen throughout the lifecycle of this class,
67
78
// we need all fully qualified model names to have a leading \.
thrownewException('Your database connection is currently unsupported! The following database connections are supported: ' . implode(', ', self::SUPPORTED_DATABASE_CONNECTIONS));
0 commit comments