$typeInfo = $passwordFactory->getTypes();
$layeredType = $this->getOption( 'type' );
// Check that type exists and is a layered type
if ( !isset( $typeInfo[$layeredType] ) ) {
$typeInfo = $passwordFactory->getTypes();
$layeredType = $this->getOption( 'type' );
// Check that type exists and is a layered type
if ( !isset( $typeInfo[$layeredType] ) ) {