diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-07-06 12:28:01 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2022-07-06 12:28:01 +0000 |
| commit | 5ebdfdc4bb3e8c02c9ba98e2d30367a0c48dbac7 (patch) | |
| tree | c7e64f1f97fd7b37b462912404c1b5778e78286f /lib/filesystem/StandardFileInterface.php | |
| parent | 3759c3248b0ca775c045ec4336748a6668b3eba5 (diff) | |
use own constructor interface for StandardFile, fixes #1280
Closes #1280
Merge request studip/studip!784
Diffstat (limited to 'lib/filesystem/StandardFileInterface.php')
| -rw-r--r-- | lib/filesystem/StandardFileInterface.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lib/filesystem/StandardFileInterface.php b/lib/filesystem/StandardFileInterface.php new file mode 100644 index 0000000..a246550 --- /dev/null +++ b/lib/filesystem/StandardFileInterface.php @@ -0,0 +1,11 @@ +<?php +interface StandardFileInterface +{ + /** + * StandardFile constructor. + * @param $fileref + * @param null $file : (optional) Is set if fileref and file are both new and not connected with + * each other in the database. + */ + public function __construct($fileref, $file = null); +} |
