1 | <?php declare(strict_types=1); |
||
11 | abstract class Settings extends AbstractResource implements SettingsInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var bool |
||
15 | */ |
||
16 | protected $builds_only_with_travis_yml; |
||
17 | |||
18 | /** |
||
19 | * @var bool |
||
20 | */ |
||
21 | protected $build_pushes; |
||
22 | |||
23 | /** |
||
24 | * @var bool |
||
25 | */ |
||
26 | protected $build_pull_requests; |
||
27 | |||
28 | /** |
||
29 | * @var int |
||
30 | */ |
||
31 | protected $maximum_number_of_builds; |
||
32 | |||
33 | /** |
||
34 | * @return bool |
||
35 | */ |
||
36 | public function buildsOnlyWithTravisYml() : bool |
||
40 | |||
41 | /** |
||
42 | * @return bool |
||
43 | */ |
||
44 | public function buildPushes() : bool |
||
48 | |||
49 | /** |
||
50 | * @return bool |
||
51 | */ |
||
52 | public function buildPullRequests() : bool |
||
56 | |||
57 | /** |
||
58 | * @return int |
||
59 | */ |
||
60 | public function maximumNumberOfBuilds() : int |
||
64 | } |
||
65 |