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

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

        throw new FileNotFoundException($path);
    }
public function getRequire(string $path)
    {
        $path = $this->getTransformedPath($path);

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

        throw new FileNotFoundException($path);
    }
public function getRequire ( string $ path ) { $ path = $ this -> getTransformedPath ( $ path ) ; if ( $ this -> isFile ( $ path ) && $ this -> has ( $ path ) ) { return require $ path ; } throw new FileNotFoundException ( $ path ) ; }
Require file.

@param string $path

@throws \Viserio\Component\Contract\Filesystem\Exception\FileNotFoundException

@return mixed
Require file .