Last active
August 22, 2018 19:00
-
-
Save earth3300/8dc3aab5563c7a769662b5ddea378324 to your computer and use it in GitHub Desktop.
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 | |
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