public static function initialize(sfEventDispatcher $dispatcher) { self::$dispatcher = $dispatcher; self::connect(); }