Illuminate\Database\Query\Builder::stripTableForPluck PHP Method

stripTableForPluck() protected method

Strip off the table name or alias from a column identifier.
protected stripTableForPluck ( string $column ) : string | null
$column string
return string | null
    protected function stripTableForPluck($column)
    {
        return is_null($column) ? $column : last(preg_split('~\\.| ~', $column));
    }