Created
December 27, 2012 16:04
-
-
Save anonymous/4389353 to your computer and use it in GitHub Desktop.
saffire class template
This file contains hidden or 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
class saffire { | |
// Returns saffire version (should be tuple major.minor.build) | |
public method version(); | |
// Returns the git revision which was used for building this saffire version | |
public method git_revision(); | |
// Returns the current run_mode: "fastcgi", "repl", "cli" | |
public method run_mode(); | |
public property fastcgi; // Null or fastcgi class | |
public property cli; // Null or cli class | |
public property repl; // Null or repl class | |
} | |
class saffire::fastcgi { | |
// Returns ROLE of the current fastCGI request ("responder", "a") | |
public method role(); | |
public method morestuff... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment