PHP Трейт App\Traits\BaseModelTrait

Показать файл Открыть проект

Открытые методы

Метод Описание
resolve ( $id, $column = "name" ) : BaseModel | null Confirm the proper type of the model, or find the instance of the model based on the id or a column, which defaults to 'name'.

Описание методов

resolve() публичный статический метод

Confirm the proper type of the model, or find the instance of the model based on the id or a column, which defaults to 'name'.
public static resolve ( $id, $column = "name" ) : BaseModel | null
$id
Результат BaseModel | null