/** * store annotations in the cache * * @param \stubbles\reflect\annotation\Annotations $annotations */ public static function put(Annotations $annotations) { self::$annotations[$annotations->target()] = serialize($annotations); self::$unserialized[$annotations->target()] = $annotations; self::$cacheChanged = true; }