Delete PatternFactory.php