path = $path; } public function copyTo( $destPath ) { FileUtils::copy( $this->path, $destPath ); } public function getStreamOrString() { return FileUtils::openInputFileStream( $this->path ); } }