Lazer\Classes\Core_Relation::table PHP Method

table() public static method

Factory method
public static table ( string $name ) : Lazer\Classes\Relation
$name string Name of table
return Lazer\Classes\Relation
    public static function table($name)
    {
        Validate::table($name)->exists();
        $self = new Relation();
        $self->tables['local'] = $name;
        return $self;
    }