Last active
May 5, 2016 16:47
-
-
Save pjmartorell/0b0db8bfef3e9670939895148c205ff2 to your computer and use it in GitHub Desktop.
Laravel Naming Conventions
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
<?php | |
class MyClass { | |
const MY_CONSTANT = 0.0; | |
protected $myProperty; | |
protected $table = [ | |
"my_table" | |
]; | |
protected $columns = [ | |
"my_column", | |
"your_column" | |
]; | |
public function myMethod($myParameter) { | |
$myVariable = 'potato'; | |
return view('hotPotatoes.index') | |
} | |
public function myRelation() {} | |
public function my_helper() {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment