MvcLite\File::save
Saves the content of the file to a provided filename.
Signature
public function save(string
$filename )
Parameters
$filename
— string- The full path and name of the file.
Returns
- File
- $this for object-chaining.
Test Coverage
Information
- Coverage: 6/6 Lines (100%)
- Tests: 2
- Passed: 2 (100%)
Tests
- [ PASSED ] — MvcLite\FileTest::testSave with data set "directory exists, expect save"
- [ PASSED ] — MvcLite\FileTest::testSave with data set "directory does not exist, do not expect save"