Skip to content

Instantly share code, notes, and snippets.

@buzzedword
Created October 22, 2012 15:52
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 buzzedword/3932194 to your computer and use it in GitHub Desktop.
Save buzzedword/3932194 to your computer and use it in GitHub Desktop.
<?php
// Stuff to figure out:
// - where should this file live and in what folder structure of /vendor
// - what namespace should this class have
// - how do you autoload this class?
// - how do you use this class within a controller
namespace Quickbase\Quickbase\{foldername};
class HelloWorld
{
public function __constructor() {}
public static function helloWorld() {
return "Hello World.";
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment