STRATO-apps/wordpress_03/app/wp-content/plugins/fluent-smtp/app/Services/DB/QueryBuilder/Raw.php

SHA-256: d6d7b242b61d0090b1a83abab81199a5c4ccb2fe72b958f05f879f46ae3a3eaa
<?php namespace FluentMail\App\Services\DB\QueryBuilder;

class Raw
{

    /**
     * @var string
     */
    protected $value;

    /**
     * @var array
     */
    protected $bindings;

    public function __construct($value, $bindings = array())
    {
        $this->value = (string)$value;
        $this->bindings = (array)$bindings;
    }

    public function getBindings()
    {
        return $this->bindings;
    }

    /**
     * @return string
     */
    public function __toString()
    {
        return (string) $this->value;
    }
}