Lines Matching refs:file
145 Lazily reads or writes to a file that is opened only after an IO operation
151 $stream = new Psr7\LazyOpenStream('/path/to/file', 'r');
152 // The file has not yet been opened...
155 // The file is opened and read from only when needed.
164 This can be useful for breaking a large file into smaller pieces to be sent in
509 $stream = GuzzleHttp\Psr7\Utils::streamFor(fopen('/path/to/file', 'r'));
546 Determines the mimetype of a file by looking at its extension.
553 Maps a file extensions to a mimetype.
767 …Removes the default host of the given URI scheme from the URI. Only the "file" scheme defines the …
768 …"localhost". All of `file:/myfile`, `file:///myfile`, and `file://localhost/myfile` are equivalent…
771 Example: `file://localhost/myfile` → `file:///myfile`