Type-hinted session container for PHP