Returns a new nonce object, instantiated with the given arguments.
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. |
return | Inpsyde\MultilingualPress\Common\Nonce\Nonce | Nonce object. |