function __construct() { parent::__construct(); if (!self::$initialized) { // Nirvana singleton, please use F::build F::setInstance(__CLASS__, $this); self::$initialized = true; } }