for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace CfdiUtils\Elements\CartaPorte30;
use CfdiUtils\Elements\Common\AbstractElement;
class FiguraTransporte extends AbstractElement
{
public function getElementName(): string
return 'cartaporte30:FiguraTransporte';
}
public function addTiposFigura(array $attributes = []): TiposFigura
$subject = new TiposFigura($attributes);
$this->addChild($subject);
return $subject;
public function multiTiposFigura(array ...$elementAttributes): self
foreach ($elementAttributes as $attributes) {
$this->addTiposFigura($attributes);
return $this;