Documentation

BaseConfig
in package
implements BaseConfigInterface

The base configuration file for the library

Tags
author

Jason Napolitano

version
1.0.0
since
1.0.0
license

MIT https://mit-license.org

Interfaces, Classes, Traits and Enums

BaseConfigInterface
Contract for the custom config classes

Table of Contents

$env  : array<string|int, mixed>
ENV config overrides
$modules  : array<string|int, mixed>
Query builder modules
env()  : array<string|int, mixed>|array<string|int, string>
Return the $env array
modules()  : array<string|int, mixed>|array<string|int, string>
Return the $modules array

Properties

$env

ENV config overrides

protected static array<string|int, mixed> $env = ['username' => null, 'hostname' => null, 'password' => null, 'database' => null, 'driver' => null]

$modules

Query builder modules

protected static array<string|int, mixed> $modules = ['whereNot' => \DatabaseFactory\Modules\WhereNot::class, 'groupBy' => \DatabaseFactory\Modules\GroupBy::class, 'orderBy' => \DatabaseFactory\Modules\OrderBy::class, 'notLike' => \DatabaseFactory\Modules\NotLike::class, 'andLike' => \DatabaseFactory\Modules\AndLike::class, 'offset' => \DatabaseFactory\Modules\Offset::class, 'select' => \DatabaseFactory\Modules\Select::class, 'orLike' => \DatabaseFactory\Modules\OrLike::class, 'count' => \DatabaseFactory\Modules\Count::class, 'where' => \DatabaseFactory\Modules\Where::class, 'limit' => \DatabaseFactory\Modules\Limit::class, 'join' => \DatabaseFactory\Modules\Join::class, 'like' => \DatabaseFactory\Modules\Like::class, 'and' => \DatabaseFactory\Modules\AndWhere::class, 'or' => \DatabaseFactory\Modules\OrWhere::class]

Methods

env()

Return the $env array

public env() : array<string|int, mixed>|array<string|int, string>
Tags
inheritdoc
Return values
array<string|int, mixed>|array<string|int, string>

modules()

Return the $modules array

public modules() : array<string|int, mixed>|array<string|int, string>
Tags
inheritdoc
Return values
array<string|int, mixed>|array<string|int, string>

Search results