flux-querybuilder/src/Functions/From.php
davidarendsen 4abd95f303 Movee Formatters to Type factory
Signed-off-by: davidarendsen <davidarendsen@hey.com>
2022-08-16 15:06:32 +00:00

23 lines
391 B
PHP

<?php
namespace Arendsen\FluxQueryBuilder\Functions;
use Arendsen\FluxQueryBuilder\Type;
class From extends Base
{
/**
* @var array $settings
*/
private $settings;
public function __construct(array $settings)
{
$this->settings = $settings;
}
public function __toString()
{
return 'from(' . new Type($this->settings) . ') ';
}
}