public function __construct(CacheKey $ck, $data = null) { $this->setKey($ck); if ($data) { $this->appendData($data); } }