public function __construct($data, array $targets, $level = 7) { $this->data = $data; $this->targets = serialize($targets); $this->level = $level; }