Skip to content

Instantly share code, notes, and snippets.

@earth3300
Last active August 22, 2018 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save earth3300/8dc3aab5563c7a769662b5ddea378324 to your computer and use it in GitHub Desktop.
Save earth3300/8dc3aab5563c7a769662b5ddea378324 to your computer and use it in GitHub Desktop.
<?php
defined( 'NDA' ) || exit('Access denied.');
/**
* A community consists of a group of people who have passed a test to become members.
*/
abstract class Community {
/**
* Gets the members of the community
*/
abstract protected function get_community();
}
/**
* The group of members.
*/
abstract class Members {
/**
* Gets the ...
*/
abstract protected function get_members();
}
/**
* A member is a person who has successfully passed the tests.
*
* Defines the characteristics of the member.
*/
abstract class Member {
/**
* Gets the ...
*/
abstract protected function get_passed();
}
/**
* Define a new Person class
*
* Some persons (people) will be a member.
* All members will be people.
*/
abstract class Person {
/**
* A Person MUST be a human (being).
*/
abstract protected function define_person();
}
/**
* Define a new Human class
*
* ALL persons will be a human.
* ALL humans will be a member of the species Homo sapiens.
*/
abstract class Human {
/**
* A Person MUST be a human (being).
*/
abstract protected function define_human();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment