public function find($data) { foreach ($data as $key => $value) { if ($this->{$key} !== $value) { return false; } } return $this; }