Documentation

AliasesSnakeCaseAttributes

AliasesSnakeCaseAttributes

Table of Contents

getAttribute()  : mixed
getConnection()  : Connection
Get the database connection for the model.
getTable()  : string
Get the table associated with the model.
setAttribute()  : mixed

Methods

getAttribute()

public getAttribute(mixed $key) : mixed
Parameters
$key : mixed
Tags
inheritDoc
Return values
mixed

getConnection()

Get the database connection for the model.

public abstract getConnection() : Connection
Tags
noinspection

PhpMissingReturnTypeInspection

Return values
Connection

getTable()

Get the table associated with the model.

public abstract getTable() : string
Tags
noinspection

PhpMissingReturnTypeInspection

Return values
string

setAttribute()

public setAttribute(mixed $key, mixed $value) : mixed
Parameters
$key : mixed
$value : mixed
Tags
inheritDoc
Return values
mixed

Search results