oont-contents/plugins/wpify-woo/deps/rikudou/iban/src/Iban/IbanInterface.php
2025-02-10 13:57:45 +01:00

26 lines
606 B
PHP

<?php
namespace WpifyWooDeps\Rikudou\Iban\Iban;
use WpifyWooDeps\Rikudou\Iban\Validator\ValidatorInterface;
interface IbanInterface
{
/**
* Returns the resulting IBAN, returns empty string if the IBAN is not valid.
*
* @return string
*/
public function __toString();
/**
* Returns the resulting IBAN.
*
* @return string
*/
public function asString(): string;
/**
* Returns the validator that checks whether the IBAN is valid.
*
* @return ValidatorInterface|null
*/
public function getValidator(): ?ValidatorInterface;
}