Skip to content

Commit

Permalink
+ dump/internals
Browse files Browse the repository at this point in the history
  • Loading branch information
hiqsol committed Apr 13, 2016
1 parent 41af592 commit 596dc67
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/controllers/DumpController.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
namespace hidev\controllers;

use Symfony\Component\Yaml\Yaml;
use Yii;
use yii\helpers\ArrayHelper;

/**
Expand All @@ -25,4 +26,12 @@ public function actionMake()
unset($data['dump'], $data['start']);
echo Yaml::dump(ArrayHelper::toArray($data), 4);
}

public function actionInternals()
{
$internals = [
'aliases' => Yii::$aliases,
];
echo Yaml::dump($internals, 4);
}
}

0 comments on commit 596dc67

Please sign in to comment.