Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Routine with Procedural cohesion
<?php
// Example of routine with procedural cohesion
// Imagine that you have a input screen that display the input fields in the order: email, name, address,.. of employee
function getNameEmailAddressInputEmployee($input) {
// Stuff to get the input name
// Stuff to get the input email
// Stuff to get the input address
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment