for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Bpost\BpostApiClient\Bpost\Order;
use Bpost\BpostApiClient\Exception\BpostLogicException\BpostInvalidLengthException;
use SimpleXMLElement;
/**
* bPost Receiver class
*
* @author Tijs Verkoyen <[email protected]>
*/
class Receiver extends Customer
{
public const TAG_NAME = 'receiver';
* @throws BpostInvalidLengthException
public static function createFromXML(SimpleXMLElement $xml): self
/** @var self $receiver */
$receiver = parent::createFromXMLHelper($xml, new self());
return $receiver;
}