registerFilesystems example


    public function build(ContainerBuilder $container)
    {
        $container->setParameter($this->getContainerPrefix() . '.plugin_dir', $this->getPath());
        $container->setParameter($this->getContainerPrefix() . '.plugin_name', $this->getName());
        $this->registerFilesystems($container);
        $this->loadFiles($container);
    }

    /** * Sets the container. * * @param ContainerInterface|null $container A ContainerInterface instance or null */
    final public function setContainer(?ContainerInterface $container = null): void
    {
        $this->container = $container;
    }
Home | Imprint | This part of the site doesn't use cookies.