Conditions | 2 |
Paths | 2 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
122 | public function function(string $functionName): void |
||
123 | { |
||
124 | if (!in_array(strtoupper($functionName), $this->functionsList)) { |
||
125 | throw new \InvalidArgumentException('MYSQL Функция ' . $functionName . ' не найдена |SELECT setFunction|'); |
||
126 | } |
||
127 | $this->result = strtoupper($functionName) . '(' . $this->name . ')'; |
||
128 | } |
||
129 | |||
135 |