Commit 02bfea4f by Mark

method renamed

parent 8dc5c5cf
......@@ -235,7 +235,7 @@ class FixtureController extends \yii\console\controllers\FixtureController
$fixtures[$i] = $this->generateFixture($template, $i);
}
$content = $this->getExportedFormat($fixtures);
$content = $this->exportFixtures($fixtures);
file_put_contents($fixturesPath.'/'.$fixtureFileName, $content);
$this->stdout("Fixture file was generated under: " . realpath($fixturesPath . "/" . $fixtureFileName) . "\n", Console::FG_GREEN);
}
......@@ -311,7 +311,7 @@ class FixtureController extends \yii\console\controllers\FixtureController
* @param type $fixtures
* @return string exported fixtures format
*/
public function getExportedFormat($fixtures)
public function exportFixtures($fixtures)
{
$content = "<?php\n\nreturn [";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment