ryanknu/Cuber — Issue #15: Clean up records
Author: ryanknu
Created: 2011-10-14 22:31:10+00:00
State: open

Our record classes are pretty horrible looking right now. They should be cleaned up. The code should appear in the order of

static fields
private fields
accessor methods*
static constructors
static methods that are not constructors
constructors
class methods

*should follow this format
private $example;
// simple
function Example() { return $this->example; }
// complex
function Example()
{
doSomething();
return $this->example;
}