public function setResolverHandler(
        ResolverInterface $handler,
        bool $static = false
    ) {
        if ($static) {
            self::$globalResolverHandler = $handler;
        }

        $this->resolverHandler = $handler;

        return $this;
    }
public function setResolverHandler(
        ResolverInterface $handler,
        bool $static = false
    ) {
        if ($static) {
            self::$globalResolverHandler = $handler;
        }

        $this->resolverHandler = $handler;

        return $this;
    }
public function setResolverHandler ( ResolverInterface $ handler , bool $ static = false ) { if ( $ static ) { self :: $ globalResolverHandler = $ handler ; } $ this -> resolverHandler = $ handler ; return $ this ; }
Sets the resolver handler

@param *ResolverInterface $handler
@param bool               $static

@return ResolverTrait
Sets the resolver handler