for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace byrokrat\banking\Rewriter;
/**
* Create standard sets of preprocessors and rewrites
*/
class RewriterFactory
{
public function createPreprocessors()
return [
new NonDigitRemovingRewriter,
new LeftTrimRewriter
];
}
public function createRewrites()
new SwedbankCheckDigitRewriter