Fixed usage of $this in scope context (only supported by PHP5.4+),

Closes orchestral/platform#15.

Signed-off-by: crynobone <crynobone@gmail.com>