for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare( strict_types = 1 );
namespace Maps\Cargo;
class MapOutput {
private $html;
private $headItems;
private $resourceModules;
public function __construct( string $html, array $resourceModules, string $headItems ) {
$this->html = $html;
$this->resourceModules = $resourceModules;
$this->headItems = $headItems;
}
public function getHtml(): string {
return $this->html;
public function getHeadItems(): string {
return $this->headItems;
public function getResourceModules(): array {
return $this->resourceModules;