public function stream_open($path, $mode, $options, &$opened_path) : bool
    {
        self::$autoloadLocatedFile = $path;

        return false;
    }
public function stream_open($path, $mode, $options, &$opened_path) : bool
    {
        self::$autoloadLocatedFile = $path;

        return false;
    }
public function stream_open ( $ path , $ mode , $ options , & $ opened_path ) : bool { self :: $ autoloadLocatedFile = $ path ; return false ; }
Our wrapper simply records which file we tried to load and returns
boolean false indicating failure.

@see https://php.net/manual/en/class.streamwrapper.php
@see https://php.net/manual/en/streamwrapper.stream-open.php

@param string $path
@param string $mode
@param int    $options
@param string $opened_path

@phpcsSuppress SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint
Our wrapper simply records which file we tried to load and returns boolean false indicating failure .