flatrr/src/FlatArray.php

20 lines
344 B
PHP
Raw Permalink Normal View History

2018-08-17 21:02:50 +00:00
<?php
/* Flatrr | https://github.com/jobyone/flatrr | MIT License */
2018-08-17 22:09:45 +00:00
namespace Flatrr;
2018-08-17 21:02:50 +00:00
class FlatArray implements FlatArrayInterface
{
use FlatArrayTrait;
2018-08-17 21:02:50 +00:00
2022-12-03 18:30:34 +00:00
/**
* @param null|array<string|mixed> $data
* @return void
2022-12-03 18:30:34 +00:00
*/
public function __construct(null|array $data = null)
2018-08-17 21:02:50 +00:00
{
$this->merge($data);
}
}