Throw Exception if the required functions are defined in incorrect order
Signed-off-by: davidarendsen <davidarendsen@hey.com>
This commit is contained in:
parent
2cca3daa17
commit
3a112f4e79
4 changed files with 103 additions and 68 deletions
21
src/Functions/RawFunction.php
Normal file
21
src/Functions/RawFunction.php
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
namespace Arendsen\FluxQueryBuilder\Functions;
|
||||
|
||||
class RawFunction extends Base
|
||||
{
|
||||
/**
|
||||
* @var string $input
|
||||
*/
|
||||
private $input;
|
||||
|
||||
public function __construct(string $input)
|
||||
{
|
||||
$this->input = $input;
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
{
|
||||
return $this->input . ' ';
|
||||
}
|
||||
}
|
||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue