for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace codenixsv\Patterns\Creational\FactoryMethod;
/**
* Class StrawHouseFactory
* @package codenixsv\Patterns\Creational\FactoryMethod
*/
class StrawHouseFactory
{
* @param $width
* @param $height
* @return HouseInterface
public function makeHouse($width, $height): HouseInterface
return new StrawHouse($width, $height);
}