src/DS/Queue/Queue.php
public static function typed(string $type, iterable $input = []): Queue
    {
        $resolver = Resolver::typed($type);

        return new static($input, $resolver);
    }
public static function typed(string $type, iterable $input = []): Queue
    {
        $resolver = Resolver::typed($type);

        return new static($input, $resolver);
    }
public static function typed ( string $ type , iterable $ input = [ ] ) : Queue { $ resolver = Resolver :: typed ( $ type ) ; return new static ( $ input , $ resolver ) ; }
Queue named constructor.

@param string  $type
@param mixed[] $input

@return \PlanB\DS\Queue\Queue
Queue named constructor .