FileWriterFromFileDelegate
in package
implements
FileWriterInterface
Table of Contents
Interfaces
Methods
- __construct() : mixed
- toFile() : SplFileInfo
- Converts the object's data to a file on disk.
Methods
__construct()
public
__construct(callable $delegate) : mixed
Parameters
- $delegate : callable
toFile()
Converts the object's data to a file on disk.
public
toFile() : SplFileInfo
Subsequent calls are expected to return the same file object each time.