src/Viserio/Component/Config/Repository.php
public function import(string $filePath, array $options = null): RepositoryContract
    {
        if ($this->loader === null && \pathinfo($filePath, \PATHINFO_EXTENSION) === 'php') {
            if (! \file_exists($filePath)) {
                throw new FileNotFoundException(\sprintf('File [%s] not found.', $filePath));
            }

            $config = (array) require \str_replace(['\\', '/'], '/', $filePath);
        } else {
            $config = $this->getLoader()->load($filePath, $options);
        }

        $this->setArray($config);

        return $this;
    }
public function import(string $filePath, array $options = null): RepositoryContract
    {
        if ($this->loader === null && \pathinfo($filePath, \PATHINFO_EXTENSION) === 'php') {
            if (! \file_exists($filePath)) {
                throw new FileNotFoundException(\sprintf('File [%s] not found.', $filePath));
            }

            $config = (array) require \str_replace(['\\', '/'], '/', $filePath);
        } else {
            $config = $this->getLoader()->load($filePath, $options);
        }

        $this->setArray($config);

        return $this;
    }
{@inheritdoc}