| @@ 79-85 (lines=7) @@ | ||
| 76 | * @param bool $test |
|
| 77 | * @return self |
|
| 78 | */ |
|
| 79 | public function test($test = true) |
|
| 80 | { |
|
| 81 | ExceptionFactory::assertArgumentType(1, __METHOD__, 'boolean', $test); |
|
| 82 | $this->data['test'] = $test; |
|
| 83 | ||
| 84 | return $this; |
|
| 85 | } |
|
| 86 | } |
|
| 87 | ||
| @@ 60-66 (lines=7) @@ | ||
| 57 | * @param bool $fast |
|
| 58 | * @return self |
|
| 59 | */ |
|
| 60 | public function fast($fast = true) |
|
| 61 | { |
|
| 62 | ExceptionFactory::assertArgumentType(1, __METHOD__, 'boolean', $fast); |
|
| 63 | $this->data['fast'] = $fast; |
|
| 64 | ||
| 65 | return $this; |
|
| 66 | } |
|
| 67 | ||
| 68 | /** |
|
| 69 | * @param bool $flash |
|
| @@ 72-78 (lines=7) @@ | ||
| 69 | * @param bool $flash |
|
| 70 | * @return self |
|
| 71 | */ |
|
| 72 | public function flash($flash = true) |
|
| 73 | { |
|
| 74 | ExceptionFactory::assertArgumentType(1, __METHOD__, 'boolean', $flash); |
|
| 75 | $this->data['flash'] = $flash; |
|
| 76 | ||
| 77 | return $this; |
|
| 78 | } |
|
| 79 | ||
| 80 | /** |
|
| 81 | * @param string $encoding |
|
| @@ 96-102 (lines=7) @@ | ||
| 93 | * @param bool $normalize |
|
| 94 | * @return self |
|
| 95 | */ |
|
| 96 | public function normalize($normalize = true) |
|
| 97 | { |
|
| 98 | ExceptionFactory::assertArgumentType(1, __METHOD__, 'boolean', $normalize); |
|
| 99 | $this->data['normalize'] = $normalize; |
|
| 100 | ||
| 101 | return $this; |
|
| 102 | } |
|
| 103 | ||
| 104 | /** |
|
| 105 | * @param bool $nounicode |
|
| @@ 108-114 (lines=7) @@ | ||
| 105 | * @param bool $nounicode |
|
| 106 | * @return self |
|
| 107 | */ |
|
| 108 | public function nounicode($nounicode = true) |
|
| 109 | { |
|
| 110 | ExceptionFactory::assertArgumentType(1, __METHOD__, 'boolean', $nounicode); |
|
| 111 | $this->data['nounicode'] = $nounicode; |
|
| 112 | ||
| 113 | return $this; |
|
| 114 | } |
|
| 115 | ||
| 116 | /** |
|
| 117 | * @param bool $single |
|
| @@ 120-126 (lines=7) @@ | ||
| 117 | * @param bool $single |
|
| 118 | * @return self |
|
| 119 | */ |
|
| 120 | public function single($single = true) |
|
| 121 | { |
|
| 122 | ExceptionFactory::assertArgumentType(1, __METHOD__, 'boolean', $single); |
|
| 123 | $this->data['single'] = $single; |
|
| 124 | ||
| 125 | return $this; |
|
| 126 | } |
|
| 127 | } |
|
| 128 | ||