Cake\Database\Query::bind PHP Метод

bind() публичный Метод

If type is expressed as "atype[]" (note braces) then it will cause the placeholder to be re-written dynamically so if the value is an array, it will create as many placeholders as values are in it. For example: $query->bind(':id', [1, 2, 3], 'int[]'); Will create 3 int placeholders. When using named placeholders, this method requires that the placeholders include : e.g. :value.
public bind ( string | integer $param, mixed $value, string | integer $type = 'string' )
$param string | integer placeholder to be replaced with quoted version of $value
$value mixed The value to be bound
$type string | integer the mapped type name, used for casting when sending to database
    public function bind($param, $value, $type = 'string')
    {
        $this->valueBinder()->bind($param, $value, $type);
        return $this;
    }