for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Claudsonm\Pedi\Standards\PagSeguro\Layouts;
use Claudsonm\Pedi\Standards\PagSeguro\Records\Header;
use Claudsonm\Pedi\Standards\PagSeguro\Records\Trailer;
use Claudsonm\Pedi\Structure\Layout;
abstract class LayoutPagSeguro extends Layout
{
public function getHeader(): Header
return $this->getContents()[0];
}
public function getTrailer(): Trailer
$lastIndex = $this->getTotalOfRecords() - 1;
return $this->getContents()[$lastIndex];
abstract public function getDetalhes(): array;