1: <?php 2: 3: namespace Session; 4: 5: class SessionFactory { 6: public static function create($id, $timeout = -1) 7: { 8: return new Session($id, $timeout); 9: } 10: } 11: 12: