Created
December 16, 2012 17:40
-
-
Save adrianthedev/4310059 to your computer and use it in GitHub Desktop.
Laravel snippets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//timing and profiling helpers | |
Profiler::tick('ce sa logheze', callback); | |
Log::write($type,$output); | |
$type = 'info'; | |
//get url | |
URI::segment(2) | |
//define contants | |
define('COMPANY_NAME','Company Name'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment