Skip to content

Instantly share code, notes, and snippets.

@jskulski
Last active August 29, 2015 14:16
Show Gist options
  • Save jskulski/07a4e97bc31ebb155b69 to your computer and use it in GitHub Desktop.
Save jskulski/07a4e97bc31ebb155b69 to your computer and use it in GitHub Desktop.
<?php
class FileReader {
public function openFile($filePath, $fileMode) {
//... open file
}
public function readFile($filePath) {
$this->openFile($filePath, self::READ_ONLY)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment