Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?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
You can’t perform that action at this time.