for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace SlayerBirden\DataFlow\Data;
use SlayerBirden\DataFlow\DataBagInterface;
class SimpleBag extends \ArrayObject implements DataBagInterface
{
/**
* @inheritdoc
*/
public function jsonSerialize()
return $this->getArrayCopy();
}
public function toArray(): array
* Return string representation of the bag.
*
* @return string
public function __toString(): string
return json_encode($this);