Used to get or reconfigure dependencies with custom classes.
/** * Tests that class dependencies can be reconfigured. */ public function testConfiguration() { $expected = array('classes' => array('session' => __CLASS__)); $this->assertEqual($expected, RequestToken::config()); $new = array('classes' => array('session' => 'lithium\\storage\\Session')); RequestToken::config($new); $this->assertEqual($new, RequestToken::config()); }