app/maguttiCms/Domain/User/UserFeatures.php
/**
     * Determine if the feature is enabled and has a given option enabled.
     *
     * @param  string  $feature
     * @param  string  $option
     * @return bool
     */
Determine if the feature is enabled and has a given option enabled.
@param  string  $feature
@param  string  $option
@return bool
Determine if the feature is enabled and has a given option enabled . @param string $feature @param string $option @return bool
public static function optionEnabled(string $feature, string $option)
    {
        return static::enabled($feature) &&
            config("maguttiCms.website.users.{$feature}.{$option}") === true;
    }
public static function optionEnabled ( string $ feature , string $ option ) { return static :: enabled ( $ feature ) && config ( " maguttiCms.website.users. { $ feature } . { $ option } " ) === true ; }
Determine if the feature is enabled and has a given option enabled.
Determine if the feature is enabled and has a given option enabled .