__construct() __construct(\Framework\Cache\CacheFactory $cache, ?string $listenerDir = null) : mixed Parameters \Framework\Cache\CacheFactory $cache ?string $listenerDir Returns mixed —
getClassFromFile() getClassFromFile(string $path) : ?string 辅助方法:简单的从文件路径推断类名 (根据你的项目结构调整) Parameters string $path Returns ?string —