Files
investbrain/config/mary.php
T
Shift 2b099b3156 Convert string references to ::class
PHP 5.5.9 adds the new static `class` property which provides the fully qualified class name. This is preferred over using strings for class names since the `class` property references are checked by PHP.
2025-08-29 02:54:50 +00:00

47 lines
1.0 KiB
PHP

<?php
declare(strict_types=1);
return [
/**
* Default component prefix.
*
* Make sure to clear view cache after renaming with `php artisan view:clear`
*
* prefix => ''
* <x-button />
* <x-card />
*
* prefix => 'mary-'
* <x-mary-button />
* <x-mary-card />
*/
'prefix' => '',
/**
* Default route prefix.
*
* Some maryUI components make network request to its internal routes.
*
* route_prefix => ''
* - Spotlight: '/mary/spotlight'
* - Editor: '/mary/upload'
* - ...
*
* route_prefix => 'my-components'
* - Spotlight: '/my-components/mary/spotlight'
* - Editor: '/my-components/mary/upload'
* - ...
*/
'route_prefix' => '',
/**
* Components settings
*/
'components' => [
'spotlight' => [
'class' => App\Support\Spotlight::class,
],
],
];