for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* @author : Korotkov Danila <[email protected]>
* @license https://mit-license.org/ MIT
*/
namespace Creational\AbstractFactory;
* Class JsonMessage
* @package Creational\AbstractFactory
class JsonMessage extends AbstractMessage
{
* @return string
public function getContent(): string
return json_encode($this->content);
}