File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,9 @@ class HydeKernel implements SerializableContract
6767
6868 protected bool $ booted = false ;
6969
70- protected array $ extensions = [HydeCoreExtension::class];
70+ protected array $ extensions = [
71+ HydeCoreExtension::class,
72+ ];
7173
7274 public function __construct (?string $ basePath = null )
7375 {
@@ -98,6 +100,7 @@ public function toArray(): array
98100 'basePath ' => $ this ->basePath ,
99101 'sourceRoot ' => $ this ->sourceRoot ,
100102 'outputDirectory ' => $ this ->outputDirectory ,
103+ 'mediaDirectory ' => $ this ->mediaDirectory ,
101104 'extensions ' => $ this ->extensions ,
102105 'features ' => $ this ->features (),
103106 'files ' => $ this ->files (),
Original file line number Diff line number Diff line change 5959 * @method static Route|null currentRoute()
6060 * @method static HydeKernel getInstance()
6161 * @method static Filesystem filesystem()
62+ * @method static array getRegisteredExtensions()
6263 * @method static bool hasFeature(string $feature)
6364 * @method static bool hasSiteUrl()
6465 * @method static bool copy(string $from, string $to)
Original file line number Diff line number Diff line change @@ -277,6 +277,7 @@ public function test_to_array_method()
277277 'basePath ' => Hyde::getBasePath (),
278278 'sourceRoot ' => Hyde::getSourceRoot (),
279279 'outputDirectory ' => Hyde::getOutputDirectory (),
280+ 'mediaDirectory ' => Hyde::getMediaDirectory (),
280281 'extensions ' => Hyde::getRegisteredExtensions (),
281282 'features ' => Hyde::features (),
282283 'files ' => Hyde::files (),
You can’t perform that action at this time.
0 commit comments