Instantly share code, notes, and snippets.

Embed
What would you like to do?
Routine name use a strong verb in OO language
<?php
$document = new Document(1) // Get the document with ID = 1
// Example of routine name use a strong verb in object-oriented language
$document->print();
$document->send();
$document->delete();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment