Documentation

DbServiceModelBase extends ServiceModel
in package
Uses ApropriateConnectionTrait

Default DB model for the service

Tags
author

Dodonov A.A.

Table of Contents

$tableName  : string
Table name
__construct()  : mixed
Constructor
getApropriateConnection()  : PdoCrud
Method returns appropriate connections
getTableName()  : string
Method returns table name
setTableName()  : void
Method sets table name

Properties

Methods

__construct()

Constructor

public __construct([string $tableName = '' ]) : mixed
Parameters
$tableName : string = ''

name of the table

Tags
psalm-suppress

MissingParamType

Return values
mixed

getTableName()

Method returns table name

public getTableName() : string
Return values
string

table name

setTableName()

Method sets table name

protected setTableName([string $tableName = '' ]) : void
Parameters
$tableName : string = ''

table name

Return values
void

Search results