MvcLite\File::load
loads file information to the file instance
Signature
public function load(string
$filename )
Parameters
$filename
—
string
- The full path and name of the file.
Returns
- File
- $this for object-chaining.
Test Coverage
Information
- Coverage: 3/3 Lines (100%)
- Tests: 3
- Passed: 3 (100%)
Tests
- [ PASSED ] — MvcLite\FileTest::testLoad with data set "Bad path, should not exist"
- [ PASSED ] — MvcLite\FileTest::testLoad with data set "Good path, should exist"
- [ PASSED ] — MvcLite\FileTest::testLoad with data set "Good path, bad file, should not exist"