src/Entity/UserPreference.php
/**
     * This method permits to dynamically call visibility's getters and setters.
     *
     * @param mixed $to_call
     * @param mixed $arg
     */
This method permits to dynamically call visibility's getters and setters.
@param mixed $to_call
@param mixed $arg
This method permits to dynamically call visibility ' s getters and setters . @param mixed $to_call @param mixed $arg
public function caller($to_call, $arg)
    {
        if (\is_callable([$this, $to_call])) {
            $this->{$to_call}($arg);
        }
    }
public function caller ( $ to_call , $ arg ) { if ( \ is_callable ( [ $ this , $ to_call ] ) ) { $ this -> { $ to_call } ( $ arg ) ; } }
This method permits to dynamically call visibility's getters and setters.
This method permits to dynamically call visibility ' s getters and setters .