exists($id) ? $_ENV[$id] : false; } /** * @inheritDoc */ public function exists($id): bool { return array_key_exists($id, $_ENV); } /** * @inheritDoc */ public function del($id): bool { throw new common_exception_NoImplementation(__METHOD__ . '@' . __CLASS__ . 'not implemented'); } /** * @inheritDoc */ public function incr($id): bool { throw new common_exception_NoImplementation(__METHOD__ . '@' . __CLASS__ . 'not implemented'); } /** * @inheritDoc */ public function decr($id): bool { throw new common_exception_NoImplementation(__METHOD__ . '@' . __CLASS__ . 'not implemented'); } }