PluginProbe
ManageWP Worker / 4.9.29
ManageWP Worker v4.9.29
4.9.38 4.9.37 4.9.36 4.9.35 4.9.34 3.8.7 3.8.8 3.9.0 3.9.1 3.9.10 3.9.11 3.9.12 3.9.13 3.9.14 3.9.15 3.9.16 3.9.17 3.9.18 3.9.19 3.9.2 3.9.20 3.9.21 3.9.22 3.9.23 3.9.24 All 73 releases
worker / src / MWP / IncrementalBackup / Model / File.php

File.php in ManageWP Worker 4.9.29, at src/MWP/IncrementalBackup/Model/File.php

77 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * This file is part of the ManageWP Worker plugin.
4 *
5 * (c) ManageWP LLC <contact@managewp.com>
6 *
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
9 */
10
11 class MWP_IncrementalBackup_Model_File
12 {
13
14 /**
15 * @var string
16 */
17 private $pathname;
18
19 /**
20 * @var MWP_Stream_Interface
21 */
22 private $stream;
23
24 /**
25 * @var string
26 */
27 private $encoding = 'binary';
28
29 /**
30 * @return string
31 */
32 public function getPathname()
33 {
34 return $this->pathname;
35 }
36
37 /**
38 * @param string $pathname
39 */
40 public function setPathname($pathname)
41 {
42 $this->pathname = $pathname;
43 }
44
45 /**
46 * @return MWP_Stream_Interface
47 */
48 public function getStream()
49 {
50 return $this->stream;
51 }
52
53 /**
54 * @param MWP_Stream_Interface $stream
55 */
56 public function setStream($stream)
57 {
58 $this->stream = $stream;
59 }
60
61 /**
62 * @return string
63 */
64 public function getEncoding()
65 {
66 return $this->encoding;
67 }
68
69 /**
70 * @param string $encoding
71 */
72 public function setEncoding($encoding)
73 {
74 $this->encoding = $encoding;
75 }
76 }
77