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 GermanFactory
* @package Creational\AbstractFactory
class XMLFactory extends AbstractFactory
{
* @param string $content
* @return AbstractMessage
public function createMessage(string $content): AbstractMessage
return new XMLMessage($content);
}