Skip to content

Commit

Permalink
Add method to get blade compiler instance
Browse files Browse the repository at this point in the history
  • Loading branch information
PhiloNL committed Dec 2, 2014
1 parent 478c8a8 commit f3afc95
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,4 +180,8 @@ public function registerFactory()
return $env;
}

public function getCompiler()
{
return $this->container['blade.compiler'];
}
}

0 comments on commit f3afc95

Please sign in to comment.