public function __construct($path, $contents, $flags = 0) { $this->path = $path; $this->contents = $contents; $this->flags = (int) $flags; }