You are here

isValid.php in International Phone 8.2

Same filename and directory in other branches
  1. 8 src/Helpers/isValid.php

File

src/Helpers/isValid.php
View source
<?php

namespace Drupal\phone_international\Helpers;


/**
 * Interface isValid.
 */
interface isValid {

  /**
   * Full validation of a phone number.
   *
   * @param string $number
   *   Validate whether the number is valid.
   */
  public function isValidNumber($number);

  /**
   * Format phone number.
   *
   * @param string $number
   *   Format number.
   */
  public function formatNumber($number);

}

Interfaces

Namesort descending Description
isValid Interface isValid.