Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Establish conventions for common operations
<?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