Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F12385279
D3827.id9911.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D3827.id9911.diff
View Options
diff --git a/workspaces/src/Engines/Apps/ApplicationConfiguration.php b/workspaces/src/Engines/Apps/ApplicationConfiguration.php
--- a/workspaces/src/Engines/Apps/ApplicationConfiguration.php
+++ b/workspaces/src/Engines/Apps/ApplicationConfiguration.php
@@ -31,25 +31,32 @@
class ApplicationConfiguration implements ArrayDeserializable {
/**
- * @var string The URL the application is binded to, without initial slash.
+ * @var string The URL the application is bound to, without an initial slash.
*/
- public $bind;
+ public string $bind;
/**
- * @var Message The navigation entry
+ * @var Message The navigation entry in the application menu.
*/
- public $nav;
+ public Message $nav;
/**
* @var string The application icon name
*/
- public $icon;
+ public string $icon;
/**
- * @var string[] The collections to use. Keys ares collections roles, values
- * collections names.
+ * @var string The application class name
+ *
+ * This must be a class name that extends Application
*/
- public $useCollections = [];
+ public string $name;
+
+ /**
+ * @var array<string,string> The collections to use.
+ * Keys are collections roles, values collections names.
+ */
+ public array $useCollections = [];
/**
* Loads an ApplicationConfiguration instance from an associative array
@@ -70,4 +77,5 @@
return $instance;
}
+
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 2, 01:16 (15 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3125652
Default Alt Text
D3827.id9911.diff (1 KB)
Attached To
Mode
D3827: Modernize ApplicationConfiguration
Attached
Detach File
Event Timeline
Log In to Comment