Skip to content

Options

The Options trait provides methods for managing options using an options manager.

  • Full name: \Zemit\Mvc\Model\Traits\Options

Properties

optionsManager

public \Zemit\Support\Options\ManagerInterface $optionsManager

Methods

initializeOptions

Initialize the Options Manager for the current instance

public initializeOptions(): void

getOptionsManager

Get the Options Manager for the current instance

public getOptionsManager(): \Zemit\Support\Options\ManagerInterface

Return Value:

The Options Manager for the current instance


setOptionsManager

Sets the options manager.

public setOptionsManager(\Zemit\Support\Options\ManagerInterface $optionsManager): void

Parameters:

Parameter Type Description
$optionsManager \Zemit\Support\Options\ManagerInterface The options manager to be set.