public function __construct() { // initialize static cached state, if not done before self::$cachedInstantiators = $this->getInstantiatorsMap(); self::$cachedCloneables = $this->getCloneablesMap(); }