Opis\Closure\ClosureStream::stream_open PHP Метод

stream_open() публичный Метод

public stream_open ( $path, $mode, $options, &$opened_path )
    function stream_open($path, $mode, $options, &$opened_path)
    {
        $this->content = "<?php\nreturn " . substr($path, strlen(static::STREAM_PROTO . '://')) . ";";
        $this->length = strlen($this->content);
        return true;
    }