芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/www/vendor/mockery/mockery/library/Mockery/Generator/StringManipulationGenerator.php
passes = $passes; } public function generate(MockConfiguration $config) { $code = file_get_contents(__DIR__ . '/../Mock.php'); $className = $config->getName() ?: $config->generateName(); $namedConfig = $config->rename($className); foreach ($this->passes as $pass) { $code = $pass->apply($code, $namedConfig); } return new MockDefinition($namedConfig, $code); } public function addPass(Pass $pass) { $this->passes[] = $pass; } }