Created
October 8, 2017 05:49
-
-
Save buiquangduc/3da2bf999faec169e170106ccf4b84c7 to your computer and use it in GitHub Desktop.
Establish conventions for common operations
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 | |
// Here are some different routine with the same purpose: get the ID of object | |
$employee->id->get(); | |
$person->getId(); | |
$staff->id; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment