src/main/php/annotation/AnnotationCache.php
public static function get(string $target)
    {
        if (!self::has($target)) {
            return null;
        }

        if (!isset(self::$unserialized[$target])) {
            self::$unserialized[$target] = unserialize(self::$annotations[$target]);
        }

        return self::$unserialized[$target];
    }
public static function get(string $target)
    {
        if (!self::has($target)) {
            return null;
        }

        if (!isset(self::$unserialized[$target])) {
            self::$unserialized[$target] = unserialize(self::$annotations[$target]);
        }

        return self::$unserialized[$target];
    }
public static function get ( string $ target ) { if ( ! self :: has ( $ target ) ) { return null ; } if ( ! isset ( self :: $ unserialized [ $ target ] ) ) { self :: $ unserialized [ $ target ] = unserialize ( self :: $ annotations [ $ target ] ) ; } return self :: $ unserialized [ $ target ] ; }
returns list of all annotations for given target

@param   string  $target
@return  \stubbles\reflect\annotation\Annotations
returns list of all annotations for given target