Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class FileReader {
- public function openFile($filePath, $fileMode) {
- //... open file
- }
- public function readFile($filePath) {
- $this->openFile($filePath, self::READ_ONLY)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement