src/Request.php
private function diffColumns(array $columns)
    {
        $all  = $this->request[ 'allColumnsSchema' ];
        $diff = array_diff_key(array_flip($columns), $all);

        if ($diff) {
            $columnsDiff = array_flip($diff);

            throw new ColumnsNotFoundException('Column ' . implode(',', $columnsDiff) . ' is absent : ' . $this);
        }
    }
private function diffColumns(array $columns)
    {
        $all  = $this->request[ 'allColumnsSchema' ];
        $diff = array_diff_key(array_flip($columns), $all);

        if ($diff) {
            $columnsDiff = array_flip($diff);

            throw new ColumnsNotFoundException('Column ' . implode(',', $columnsDiff) . ' is absent : ' . $this);
        }
    }
Déclenche une exception si l'un des champs passés en paramètre diffère
des champs disponibles dans les tables.

@param array $columns Liste des champs.

@throws ColumnsNotFoundException