Summary
- File
- Package hierarchy PHPBoost\Config
- Class hierarchy \AbstractConfigData \SecurityConfig
This is a default and minimal implementation of the ConfigData interface.
This is a default and minimal implementation of the ConfigData interface.
__construct()
Constructs a AbstractConfigData object
| None found |
synchronize()
This method is not used in the configuration context.
{@inheritdoc}
| None found |
set_default_values()
Redefine this method if you want to avoid getting errors while asking values.
If some entries doesn't exist, they can be created here.
| None found |
get_property(string $name) : string
Reads a property's value.
| string | $name | Name of the property to read |
the read value
| None found |
set_property(string $name, string $value)
Sets a property value. If the property exists, it overrides its value, otherwise, it creates an entry for this property.
| string | $name | Name of the property |
| string | $value | Value of the property |
| None found |
get_default_values() : \string[mixed]
Returns a map associating to each property name the corresponding default value
| None found |
get_internal_password_min_length()
| None found |
set_internal_password_min_length( $value)
| $value |
| None found |
get_internal_password_strength()
| None found |
set_internal_password_strength( $value)
| $value |
| None found |
forbid_login_and_email_in_password()
| None found |
allow_login_and_email_in_password()
| None found |
are_login_and_email_forbidden_in_password()
| None found |
get_forbidden_mail_domains()
| None found |
set_forbidden_mail_domains(array $value)
| array | $value |
| None found |
load() : \SecurityConfig
Returns the configuration.
| None found |
save()
Saves the configuration in the database. Has it become persistent.
| None found |
get_default_value( $property)
| $property |
| None found |
$properties_map :
| None found |
INTERNAL_PASSWORD_MIN_LENGTH = 'internal_password_min_length'
| None found |
INTERNAL_PASSWORD_STRENGTH = 'internal_password_strength'
| None found |
LOGIN_AND_EMAIL_FORBIDDEN_IN_PASSWORD = 'login_and_email_forbidden_in_password'
| None found |
FORBIDDEN_MAIL_DOMAINS = 'forbidden_mail_domains'
| None found |
PASSWORD_STRENGTH_WEAK = 'weak'
| None found |
PASSWORD_STRENGTH_MEDIUM = 'medium'
| None found |
PASSWORD_STRENGTH_STRONG = 'strong'
| None found |
PASSWORD_STRENGTH_VERY_STRONG = 'very_strong'
| None found |