Skip to content

Instantly share code, notes, and snippets.

@buiquangduc
Created September 26, 2017 01:56
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 buiquangduc/741497f321147ea1c11b609a55eaa5b8 to your computer and use it in GitHub Desktop.
Save buiquangduc/741497f321147ea1c11b609a55eaa5b8 to your computer and use it in GitHub Desktop.
Provide services in pairs with their opposites
<?php
interface Stack
{
public function openStack();
public function closeStack();
public function addStack();
public function deleteStack();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment