public function __get($strKey) { if (static::has($strKey)) { return static::get($strKey); } return null; }