public function requireOnce(string $path)
    {
        $path = $this->getTransformedPath($path);

        if ($this->isFile($path) && $this->has($path)) {
            require_once $path;
        }

        throw new FileNotFoundException($path);
    }