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

_makeJoin() защищенный Метод

Returns an array that can be passed to the join method describing a single join clause
protected _makeJoin ( string | array $table, string | array | Cake\Database\ExpressionInterface $conditions, string $type ) : array
$table string | array The table to join with
$conditions string | array | Cake\Database\ExpressionInterface The conditions to use for joining.
$type string the join type to use
Результат array
    protected function _makeJoin($table, $conditions, $type)
    {
        $alias = $table;
        if (is_array($table)) {
            $alias = key($table);
            $table = current($table);
        }
        return [$alias => ['table' => $table, 'conditions' => $conditions, 'type' => $type]];
    }