the app method

To gain access to the Bricklayer Application API use the ->app() method. It will return the currently running application object thus giving you access to all the methods of the Bricklayer Application API. Simply call an API method on the returned Application Object. Like so: $self->app()->env() to get the bricklayer environment for instance.

Jeremy Wall 2006-08-21