Rename namespace Function keyword to Functions to prevent errors

Signed-off-by: davidarendsen <davidarendsen@hey.com>
This commit is contained in:
davidarendsen 2022-08-12 12:37:30 +00:00
commit 79edee7400
19 changed files with 31 additions and 31 deletions

24
src/Functions/From.php Normal file
View file

@ -0,0 +1,24 @@
<?php
namespace Arendsen\FluxQueryBuilder\Functions;
use Arendsen\FluxQueryBuilder\Formatters;
class From extends Base {
/**
* @var array $settings
*/
private $settings;
public function __construct(array $settings)
{
$this->settings = $settings;
}
public function __toString()
{
return 'from(' . Formatters::toFluxArrayString($this->settings) . ') ';
}
}