Contao\Cache::__get PHP 메소드

__get() 공개 메소드

Return a cache entry
사용 중단: Deprecated since Contao 4.0, to be removed in Contao 5.0. Use Cache::get() instead.
public __get ( string $strKey ) : mixed | null
$strKey string The cache key
리턴 mixed | null The cached data
    public function __get($strKey)
    {
        if (static::has($strKey)) {
            return static::get($strKey);
        }
        return null;
    }