Skip to content
John Stevenson edited this page Jun 17, 2014 · 3 revisions

Statical is a PHP library that enables static proxy interfaces to instantiated classes. For example:

// Normal access
$view = $app->get('view');
$view->render('mytemplate', $data);

// Using a static proxy
View::render('mytemplate', $data);

Both examples call the render method of the instantiated view class, with the static proxy version using terse and cleaner code. If this is your thing, then take a look at the Manager class. It is the main foundation of the library and this section contains most the the information you need to get up and running.

This documentation is still being compiled - please read the comments in the source code for more information.

Clone this wiki locally