function &getForKey($sKey) { $aKeys = $this->keys(); if (!in_array($sKey, $aKeys)) { throw new \Exception("\\Flake\\Core\\Collection->getForKey(): key '" . $sKey . "' not found in Collection"); } $oRes = $this->aCollection[$sKey]; return $oRes; }