$configData
$configData :
getConfigData( $file = null) : array
Get the configuration data Dewdrop needs to operate. Should be of this shape:
[ 'bootstrap' => '\Your\Bootstrap\ClassName', 'db' => [ 'type' => 'pgsql|mysql', 'username' => 'user', 'password' => '123456!', 'name' => 'my_database', 'host' => 'localhost' ] ]
$file |
getBootstrapClass() : string
Get the bootstrap class that should be used for your environment. Will often come from the config data. However, if you want to allow users to override the bootstrap class in your environment via some other constant or configuration flag, you can implement that logic here.
providePimpleSessionResource(\Pimple $pimple) : void
Provide session and session.storage resources for Pimple. The "session" resource should be the environment-specific session object typically used (e.g.
Zend_Session_Namespace, WP_Session, etc) and "session.storage" should be an implementor of \Dewdrop\Session\SessionStorageInterface that wraps that platform- specific API.
\Pimple | $pimple |