mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-06-20 08:08:24 +02:00
* rewrite of the Abstract Factory pattern * update composer deps * fixed argument to json_encode which cannot be null
10 lines
191 B
PHP
10 lines
191 B
PHP
<?php
|
|
|
|
namespace DesignPatterns\Creational\AbstractFactory;
|
|
|
|
interface WriterFactory
|
|
{
|
|
public function createCsvWriter(): CsvWriter;
|
|
public function createJsonWriter(): JsonWriter;
|
|
}
|