Fix filename

This commit is contained in:
Thibaud Fabre
2016-08-02 15:25:53 +02:00
committed by GitHub
parent d6a68b9257
commit 7041c960c7

View File

@@ -0,0 +1,21 @@
<?php
namespace Alchemy\Phrasea\Webhook\Processor;
class CallableProcessorFactory implements ProcessorFactory
{
private $factoryMethod;
public function __construct($callable)
{
$this->factoryMethod = $callable;
}
public function createProcessor()
{
$factoryMethod = $this->factoryMethod;
return $factoryMethod();
}
}