【Symfony2.3】ルートディレクトリを取得する。

$this->get('kernel')->getRootDir();