Méthode | Description | |
---|---|---|
__construct ( string $default_class = NonceFactory::DEFAULT_CLASS ) | Constructor. Sets up the properties. | |
create ( array $args = [], string $class = '' ) : Inpsyde\MultilingualPress\Common\Nonce\Nonce | Returns a new nonce object, instantiated with the given arguments. |
public __construct ( string $default_class = NonceFactory::DEFAULT_CLASS ) | ||
$default_class | string | Optional. Fully qualified name of the default class. Defaults to NonceFactory::DEFAULT_CLASS. |
public create ( array $args = [], string $class = '' ) : Inpsyde\MultilingualPress\Common\Nonce\Nonce | ||
$args | array | Optional. Constructor arguments. Defaults to empty array. |
$class | string | Optional. Fully qualified class name. Defaults to empty string. |
Résultat | Inpsyde\MultilingualPress\Common\Nonce\Nonce | Nonce object. |