*/ namespace Flasher\Prime\Config; /** * @phpstan-type ConfigType array{ * default: string, * root_script: string, * options: array, * themes: array, * }>, * auto_render: bool, * auto_translate: bool, * filter_criteria: array, * flash_bag: array{ * enabled: bool, * mapping: array, * }, * presets: array, * }>, * } */ interface ConfigInterface { /** * Returns an attribute. * * @param string $key * @param mixed $default the default value if not found * * @return mixed */ public function get($key, $default = null); }