protected function initMeta(): void
    {
        // cache for reflection data
        $cacheKey = "meta.{$this->module}.{$this->controller}";

        if (!$meta = Cache::get($cacheKey)) {
            $meta = new Meta($this->getFile());
            $meta->process();

            Cache::set(
                $cacheKey,
                $meta,
                Cache::TTL_NO_EXPIRY,
                ['system', 'meta']
            );
        }
        $this->meta = $meta;
    }
protected function initMeta(): void
    {
        // cache for reflection data
        $cacheKey = "meta.{$this->module}.{$this->controller}";

        if (!$meta = Cache::get($cacheKey)) {
            $meta = new Meta($this->getFile());
            $meta->process();

            Cache::set(
                $cacheKey,
                $meta,
                Cache::TTL_NO_EXPIRY,
                ['system', 'meta']
            );
        }
        $this->meta = $meta;
    }
protected function initMeta ( ) : void { // cache for reflection data $ cacheKey = "meta.{$this->module}.{$this->controller}" ; if ( ! $ meta = Cache :: get ( $ cacheKey ) ) { $ meta = new Meta ( $ this -> getFile ( ) ) ; $ meta -> process ( ) ; Cache :: set ( $ cacheKey , $ meta , Cache :: TTL_NO_EXPIRY , [ 'system' , 'meta' ] ) ; } $ this -> meta = $ meta ; }
Retrieve reflection for anonymous function

@return void
@throws ComponentException
@throws ControllerException
@throws \ReflectionException
Retrieve reflection for anonymous function