rewind
laravel/framework
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Rewind the position of a file pointer
rewind
(
resource $stream
):
bool
public function
truncate
()
{
rewind
(
$this
->
handle
);
ftruncate
(
$this
->
handle
,
0
);
src/Illuminate/Filesystem/LockableFile.php
}
fwrite
(
$sink
,
$body
);
rewind
(
$sink
);
};
}
src/Illuminate/Http/Client/PendingRequest.php