Function: user_settings()

function user_settings(): \SmartFactory\UserSettingsManager;

Short function for getting the instance of the UserSettingsManager.

Returns

\SmartFactory\UserSettingsManager

Returns the instance of the UserSettingsManager.

Throws

\Exception

It might throw the following exceptions in the case of any errors:

  • if the interface or class is not specified.
  • if the interface or class does not exist.
  • if the check of the classes and interfaces fails.

Authors

Oleg Schildt

Package

Source code