Skip to content

BaseTable ​

php
trait Zairakai\LaravelEloquent\Traits\BaseTable

Source: src/Traits/BaseTable.php

Methods ​

getPrimaryKeyName() ​

php
public static function getPrimaryKeyName(): string

getTableName() ​

php
public static function getTableName(): string

resolveColumn() ​

php
public static function resolveColumn(string $key): string

resolveRelation() ​

php
public static function resolveRelation(string $key): string

resolveScope() ​

php
public static function resolveScope(string $key): string

fill() ​

php
public function fill(array $attributes)

Returns $this

getAttribute() ​

php
public function getAttribute(mixed $key): mixed

getColumn() ​

php
public function getColumn(string $key): string

initializeBaseTable() ​

php
public function initializeBaseTable(): void

isFillable() ​

php
public function isFillable(mixed $key): bool

jsonSerialize() ​

php
public function jsonSerialize(): array

Returns array<string,mixed>

setAttribute() ​

php
public function setAttribute(mixed $key, mixed $value): mixed

toJson() ​

php
public function toJson($options = 0): string

toReadableArray() ​

php
public function toReadableArray(): array

Returns array<string,mixed>

Documentation of 3.0.5 , built from 63d1d58 on 3.0.5 by pipeline #2949080702 on 2026-10-11.