October\Rain\Database\Traits\Defaultable

Overview

Defaultable adds default assignment to models


Protected Properties

protected static static $defaultableCache


Public Methods

public defaultableAfterSave()

public defaultableAfterSave(): void

public static getDefault()

public static getDefault(): void

getDefault returns the default product type.

public initializeDefaultable()

public initializeDefaultable(): void

public makeDefault()

public makeDefault(): void