Files
interblue.pl/modules/przelewy24/factories/Przelewy24ClassInterfaceFactory.php
2024-10-25 14:16:28 +02:00

32 lines
630 B
PHP

<?php
/**
* @author Przelewy24
* @copyright Przelewy24
* @license https://www.gnu.org/licenses/gpl.html
*/
if (!defined('_PS_VERSION_')) {
exit;
}
/**
* Class Przelewy24ClassInterfaceFactory
*
* One of factories for Przelewy24 plugin.
*/
class Przelewy24ClassInterfaceFactory
{
/**
* Create instance of Przelewy24ClassInterface based on suffix.
*
* @param string $suffix money suffix
*
* @return Przelewy24ClassInterface
*
* @throws Exception
*/
public static function getForSuffix($suffix)
{
return Przelewy24ClassFactory::buildForSuffix($suffix);
}
}