inVendors example



    /** * @return $this */
    public function addResource(ResourceInterface $resource)static
    {
        if (!$this->trackResources) {
            return $this;
        }

        if ($resource instanceof GlobResource && $this->inVendors($resource->getPrefix())) {
            return $this;
        }

        $this->resources[(string) $resource] = $resource;

        return $this;
    }

    /** * Sets the resources for this configuration. * * @param array<string, ResourceInterface> $resources * * @return $this */


    /** * @return $this */
    public function addResource(ResourceInterface $resource)static
    {
        if (!$this->trackResources) {
            return $this;
        }

        if ($resource instanceof GlobResource && $this->inVendors($resource->getPrefix())) {
            return $this;
        }

        $this->resources[(string) $resource] = $resource;

        return $this;
    }

    /** * Sets the resources for this configuration. * * @param array<string, ResourceInterface> $resources * * @return $this */
Home | Imprint | This part of the site doesn't use cookies.