andrew-kandels/contain — pull request #15 by mwillbanks (2013-06-03 22:03:07+00:00)
Title: Add the ability to add constants

Constants are necessary many times in entity classes for determinations and check comparisons. We use them regularly for different types of statuses which may not be stored in a backend DB but possibly in a short-lived queue and/or cache.

```php
$this->setConstant('foo', 'bar');
```

Ends up creating:
```php
const FOO = 'bar';
```