class-otgs-installer-instance.php
891 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
class OTGS_Installer_Instance {
/**
* @var string
*/
public $bootfile;
/**
* @var string
*/
public $version;
/**
* @var string|bool
*/
public $high_priority;
/**
* @var bool
*/
public $delegated;
/**
* @param string $bootfile
*
* @return $this
*/
public function set_bootfile( $bootfile ) {
$this->bootfile = $bootfile;
return $this;
}
/**
* @param string|bool $high_priority
*
* @return $this
*/
public function set_high_priority( $high_priority ) {
$this->high_priority = $high_priority;
return $this;
}
/**
* @param string $version
*
* @return $this
*/
public function set_version( $version ) {
$this->version = $version;
return $this;
}
/**
* @param bool $delegated
*
* @return $this
*/
public function set_delegated( $delegated ) {
$this->delegated = (bool) $delegated;
return $this;
}
}