| Conditions | 3 |
| Paths | 4 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | public function __construct($path = '', callable $extendStoredFile = null, Filename $filename = null, ContentTypeFilter $contentTypeFilter = null) |
||
| 25 | { |
||
| 26 | if ($path !== '') { |
||
| 27 | $path = trim($path, '\/') . DIRECTORY_SEPARATOR; |
||
| 28 | } |
||
| 29 | |||
| 30 | $this->path = $path; |
||
| 31 | $this->filename = $filename ?: new Filename(); |
||
| 32 | $this->contentTypeFilter = $contentTypeFilter; |
||
| 33 | $this->extendStoredFile = $extendStoredFile; |
||
| 34 | } |
||
| 35 | |||
| 73 | } |