public static function passwordHash(string $text): ?string
    {
        return password_hash($text, self::PASSWORD_CRYPT_ALGO, [
            'cost' => self::PASSWORD_CRYPT_COST
        ]);
    }
public static function passwordHash(string $text): ?string
    {
        return password_hash($text, self::PASSWORD_CRYPT_ALGO, [
            'cost' => self::PASSWORD_CRYPT_COST
        ]);
    }
public static function passwordHash ( string $ text ) : ? string { return password_hash ( $ text , self :: PASSWORD_CRYPT_ALGO , [ 'cost' => self :: PASSWORD_CRYPT_COST ] ) ; }
Generate password hash using php password_hash with predefined algo
@param string $text
@return null|string
Generate password hash using php password_hash with predefined algo