Passed
Pull Request — master (#347)
by Mirko
08:35
created

Geocache::getWayLength()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 4
rs 10
1
<?php
2
3
namespace AppBundle\Entity;
4
5
use DateTime;
6
use Doctrine\ORM\Mapping as ORM;
7
8
/**
9
 * Geocache
10
 *
11
 * @ORM\Table(name="caches", uniqueConstraints={@ORM\UniqueConstraint(name="uuid", columns={"uuid"}), @ORM\UniqueConstraint(name="wp_oc", columns={"wp_oc"})}, indexes={@ORM\Index(name="longitude", columns={"longitude", "latitude"}), @ORM\Index(name="date_created", columns={"date_created"}), @ORM\Index(name="latitude", columns={"latitude"}), @ORM\Index(name="country", columns={"country"}), @ORM\Index(name="status", columns={"status", "date_activate"}), @ORM\Index(name="last_modified", columns={"last_modified"}), @ORM\Index(name="wp_gc", columns={"wp_gc"}), @ORM\Index(name="user_id", columns={"user_id"}), @ORM\Index(name="date_activate", columns={"date_activate"}), @ORM\Index(name="need_npa_recalc", columns={"need_npa_recalc"}), @ORM\Index(name="type", columns={"type"}), @ORM\Index(name="size", columns={"size"}), @ORM\Index(name="difficulty", columns={"difficulty"}), @ORM\Index(name="terrain", columns={"terrain"}), @ORM\Index(name="wp_gc_maintained", columns={"wp_gc_maintained"})})
12
 * @ORM\Entity
13
 */
14
class Geocache
15
{
16
    /**
17
     * @var string
18
     *
19
     * @ORM\Column(name="uuid", type="string", length=36, nullable=false)
20
     */
21
    private $uuid;
22
23
    /**
24
     * @var int
25
     *
26
     * @ORM\Column(name="node", type="smallint", nullable=false)
27
     */
28
    private $node = 0;
29
30
    /**
31
     * @var \DateTime
32
     *
33
     * @ORM\Column(name="date_created", type="datetime", nullable=false)
34
     */
35
    private $dateCreated;
36
37
    /**
38
     * @var bool
39
     *
40
     * @ORM\Column(name="is_publishdate", type="boolean", nullable=false)
41
     */
42
    private $isPublishdate = false;
43
44
    /**
45
     * @var \DateTime
46
     *
47
     * @ORM\Column(name="last_modified", type="datetime", nullable=false)
48
     */
49
    private $lastModified;
50
51
    /**
52
     * @var \DateTime
53
     *
54
     * @ORM\Column(name="listing_last_modified", type="datetime", nullable=false)
55
     */
56
    private $listingLastModified;
57
58
    /**
59
     * @var \DateTime
60
     *
61
     * @ORM\Column(name="meta_last_modified", type="datetime", nullable=false)
62
     */
63
    private $metaLastModified;
64
65
    /**
66
     * @var integer
67
     *
68
     * @ORM\Column(name="user_id", type="integer", nullable=false)
69
     */
70
    private $userId;
71
72
    /**
73
     * @var string
74
     *
75
     * @ORM\Column(name="name", type="string", length=255, nullable=false)
76
     */
77
    private $name;
78
79
    /**
80
     * @var float
81
     *
82
     * @ORM\Column(name="longitude", type="float", precision=10, scale=0, nullable=false)
83
     */
84
    private $longitude;
85
86
    /**
87
     * @var float
88
     *
89
     * @ORM\Column(name="latitude", type="float", precision=10, scale=0, nullable=false)
90
     */
91
    private $latitude;
92
93
    /**
94
     * @var bool
95
     *
96
     * @ORM\Column(name="type", type="boolean", nullable=false)
97
     */
98
    private $type;
99
100
    /**
101
     * @var bool
102
     *
103
     * @ORM\Column(name="status", type="boolean", nullable=false)
104
     */
105
    private $status;
106
107
    /**
108
     * @var string
109
     *
110
     * @ORM\Column(name="country", type="string", length=2, nullable=false)
111
     */
112
    private $country;
113
114
    /**
115
     * @var \DateTime
116
     *
117
     * @ORM\Column(name="date_hidden", type="date", nullable=false)
118
     */
119
    private $dateHidden;
120
121
    /**
122
     * @var bool
123
     *
124
     * @ORM\Column(name="size", type="boolean", nullable=false)
125
     */
126
    private $size;
127
128
    /**
129
     * @var bool
130
     *
131
     * @ORM\Column(name="difficulty", type="boolean", nullable=false)
132
     */
133
    private $difficulty;
134
135
    /**
136
     * @var bool
137
     *
138
     * @ORM\Column(name="terrain", type="boolean", nullable=false)
139
     */
140
    private $terrain;
141
142
    /**
143
     * @var string
144
     *
145
     * @ORM\Column(name="logpw", type="string", length=20, nullable=true)
146
     */
147
    private $logpw;
148
149
    /**
150
     * @var float
151
     *
152
     * @ORM\Column(name="search_time", type="float", precision=10, scale=0, nullable=false)
153
     */
154
    private $searchTime = 0.0;
155
156
    /**
157
     * @var float
158
     *
159
     * @ORM\Column(name="way_length", type="float", precision=10, scale=0, nullable=false)
160
     */
161
    private $wayLength = 0.0;
162
163
    /**
164
     * @var string
165
     *
166
     * @ORM\Column(name="wp_gc", type="string", length=7, nullable=false)
167
     */
168
    private $wpGc;
169
170
    /**
171
     * @var string
172
     *
173
     * @ORM\Column(name="wp_gc_maintained", type="string", length=7, nullable=false)
174
     */
175
    private $wpGcMaintained;
176
177
    /**
178
     * @var string
179
     *
180
     * @ORM\Column(name="wp_nc", type="string", length=6, nullable=false)
181
     */
182
    private $wpNc;
183
184
    /**
185
     * @var string
186
     *
187
     * @ORM\Column(name="wp_oc", type="string", length=6, nullable=true)
188
     */
189
    private $wpOc;
190
191
    /**
192
     * @var string
193
     *
194
     * @ORM\Column(name="desc_languages", type="string", length=60, nullable=false)
195
     */
196
    private $descLanguages;
197
198
    /**
199
     * @var string
200
     *
201
     * @ORM\Column(name="default_desclang", type="string", length=2, nullable=false)
202
     */
203
    private $defaultDesclang;
204
205
    /**
206
     * @var \DateTime
207
     *
208
     * @ORM\Column(name="date_activate", type="datetime", nullable=true)
209
     */
210
    private $dateActivate;
211
212
    /**
213
     * @var bool
214
     *
215
     * @ORM\Column(name="need_npa_recalc", type="boolean", nullable=false)
216
     */
217
    private $needNpaRecalc;
218
219
    /**
220
     * @var bool
221
     *
222
     * @ORM\Column(name="show_cachelists", type="boolean", nullable=false)
223
     */
224
    private $showCachelists = true;
225
226
    /**
227
     * @var bool
228
     *
229
     * @ORM\Column(name="protect_old_coords", type="boolean", nullable=false)
230
     */
231
    private $protectOldCoords = false;
232
233
    /**
234
     * @var bool
235
     *
236
     * @ORM\Column(name="needs_maintenance", type="boolean", nullable=false)
237
     */
238
    private $needsMaintenance = false;
239
240
    /**
241
     * @var bool
242
     *
243
     * @ORM\Column(name="listing_outdated", type="boolean", nullable=false)
244
     */
245
    private $listingOutdated = false;
246
247
    /**
248
     * @var \DateTime
249
     *
250
     * @ORM\Column(name="flags_last_modified", type="datetime", nullable=false)
251
     */
252
    private $flagsLastModified;
253
254
    /**
255
     * @var integer
256
     *
257
     * @ORM\Column(name="cache_id", type="integer")
258
     * @ORM\Id
259
     * @ORM\GeneratedValue(strategy="IDENTITY")
260
     */
261
    private $cacheId;
262
263
    /**
264
     * Set uuid
265
     *
266
     * @param string $uuid
267
     *
268
     * @return \AppBundle\Entity\Geocache
269
     */
270
    public function setUuid($uuid)
271
    {
272
        $this->uuid = $uuid;
273
274
        return $this;
275
    }
276
277
    /**
278
     * Get uuid
279
     *
280
     * @return string
281
     */
282
    public function getUuid()
283
    {
284
        return $this->uuid;
285
    }
286
287
    /**
288
     * Set node
289
     *
290
     * @param bool $node
291
     *
292
     * @return \AppBundle\Entity\Geocache
293
     */
294
    public function setNode($node)
295
    {
296
        $this->node = $node;
0 ignored issues
show
Documentation Bug introduced by
The property $node was declared of type integer, but $node is of type boolean. Maybe add a type cast?

This check looks for assignments to scalar types that may be of the wrong type.

To ensure the code behaves as expected, it may be a good idea to add an explicit type cast.

$answer = 42;

$correct = false;

$correct = (bool) $answer;
Loading history...
297
298
        return $this;
299
    }
300
301
    /**
302
     * Get node
303
     *
304
     * @return bool
305
     */
306
    public function getNode()
307
    {
308
        return $this->node;
309
    }
310
311
    /**
312
     * Set dateCreated
313
     *
314
     * @param \DateTime $dateCreated
315
     *
316
     * @return \AppBundle\Entity\Geocache
317
     */
318
    public function setDateCreated(DateTime $dateCreated)
319
    {
320
        $this->dateCreated = $dateCreated;
321
322
        return $this;
323
    }
324
325
    /**
326
     * Get dateCreated
327
     *
328
     * @return \DateTime
329
     */
330
    public function getDateCreated()
331
    {
332
        return $this->dateCreated;
333
    }
334
335
    /**
336
     * Set isPublishdate
337
     *
338
     * @param bool $isPublishdate
339
     *
340
     * @return \AppBundle\Entity\Geocache
341
     */
342
    public function setIsPublishdate($isPublishdate)
343
    {
344
        $this->isPublishdate = $isPublishdate;
345
346
        return $this;
347
    }
348
349
    /**
350
     * Get isPublishdate
351
     *
352
     * @return bool
353
     */
354
    public function getIsPublishdate()
355
    {
356
        return $this->isPublishdate;
357
    }
358
359
    /**
360
     * Set lastModified
361
     *
362
     * @param \DateTime $lastModified
363
     *
364
     * @return \AppBundle\Entity\Geocache
365
     */
366
    public function setLastModified(DateTime $lastModified)
367
    {
368
        $this->lastModified = $lastModified;
369
370
        return $this;
371
    }
372
373
    /**
374
     * Get lastModified
375
     *
376
     * @return \DateTime
377
     */
378
    public function getLastModified()
379
    {
380
        return $this->lastModified;
381
    }
382
383
    /**
384
     * Set listingLastModified
385
     *
386
     * @param \DateTime $listingLastModified
387
     *
388
     * @return \AppBundle\Entity\Geocache
389
     */
390
    public function setListingLastModified(DateTime $listingLastModified)
391
    {
392
        $this->listingLastModified = $listingLastModified;
393
394
        return $this;
395
    }
396
397
    /**
398
     * Get listingLastModified
399
     *
400
     * @return \DateTime
401
     */
402
    public function getListingLastModified()
403
    {
404
        return $this->listingLastModified;
405
    }
406
407
    /**
408
     * Set metaLastModified
409
     *
410
     * @param \DateTime $metaLastModified
411
     *
412
     * @return \AppBundle\Entity\Geocache
413
     */
414
    public function setMetaLastModified(DateTime $metaLastModified)
415
    {
416
        $this->metaLastModified = $metaLastModified;
417
418
        return $this;
419
    }
420
421
    /**
422
     * Get metaLastModified
423
     *
424
     * @return \DateTime
425
     */
426
    public function getMetaLastModified()
427
    {
428
        return $this->metaLastModified;
429
    }
430
431
    /**
432
     * Set userId
433
     *
434
     * @param int $userId
435
     *
436
     * @return \AppBundle\Entity\Geocache
437
     */
438
    public function setUserId($userId)
439
    {
440
        $this->userId = $userId;
441
442
        return $this;
443
    }
444
445
    /**
446
     * Get userId
447
     *
448
     * @return int
449
     */
450
    public function getUserId()
451
    {
452
        return $this->userId;
453
    }
454
455
    /**
456
     * Set name
457
     *
458
     * @param string $name
459
     *
460
     * @return \AppBundle\Entity\Geocache
461
     */
462
    public function setName($name)
463
    {
464
        $this->name = $name;
465
466
        return $this;
467
    }
468
469
    /**
470
     * Get name
471
     *
472
     * @return string
473
     */
474
    public function getName()
475
    {
476
        return $this->name;
477
    }
478
479
    /**
480
     * Set longitude
481
     *
482
     * @param float $longitude
483
     *
484
     * @return \AppBundle\Entity\Geocache
485
     */
486
    public function setLongitude($longitude)
487
    {
488
        $this->longitude = $longitude;
489
490
        return $this;
491
    }
492
493
    /**
494
     * Get longitude
495
     *
496
     * @return float
497
     */
498
    public function getLongitude()
499
    {
500
        return $this->longitude;
501
    }
502
503
    /**
504
     * Set latitude
505
     *
506
     * @param float $latitude
507
     *
508
     * @return \AppBundle\Entity\Geocache
509
     */
510
    public function setLatitude($latitude)
511
    {
512
        $this->latitude = $latitude;
513
514
        return $this;
515
    }
516
517
    /**
518
     * Get latitude
519
     *
520
     * @return float
521
     */
522
    public function getLatitude()
523
    {
524
        return $this->latitude;
525
    }
526
527
    /**
528
     * Set type
529
     *
530
     * @param bool $type
531
     *
532
     * @return \AppBundle\Entity\Geocache
533
     */
534
    public function setType($type)
535
    {
536
        $this->type = $type;
537
538
        return $this;
539
    }
540
541
    /**
542
     * Get type
543
     *
544
     * @return bool
545
     */
546
    public function getType()
547
    {
548
        return $this->type;
549
    }
550
551
    /**
552
     * Set status
553
     *
554
     * @param bool $status
555
     *
556
     * @return \AppBundle\Entity\Geocache
557
     */
558
    public function setStatus($status)
559
    {
560
        $this->status = $status;
561
562
        return $this;
563
    }
564
565
    /**
566
     * Get status
567
     *
568
     * @return bool
569
     */
570
    public function getStatus()
571
    {
572
        return $this->status;
573
    }
574
575
    /**
576
     * Set country
577
     *
578
     * @param string $country
579
     *
580
     * @return \AppBundle\Entity\Geocache
581
     */
582
    public function setCountry($country)
583
    {
584
        $this->country = $country;
585
586
        return $this;
587
    }
588
589
    /**
590
     * Get country
591
     *
592
     * @return string
593
     */
594
    public function getCountry()
595
    {
596
        return $this->country;
597
    }
598
599
    /**
600
     * Set dateHidden
601
     *
602
     * @param \DateTime $dateHidden
603
     *
604
     * @return \AppBundle\Entity\Geocache
605
     */
606
    public function setDateHidden(DateTime $dateHidden)
607
    {
608
        $this->dateHidden = $dateHidden;
609
610
        return $this;
611
    }
612
613
    /**
614
     * Get dateHidden
615
     *
616
     * @return \DateTime
617
     */
618
    public function getDateHidden()
619
    {
620
        return $this->dateHidden;
621
    }
622
623
    /**
624
     * Set size
625
     *
626
     * @param bool $size
627
     *
628
     * @return \AppBundle\Entity\Geocache
629
     */
630
    public function setSize($size)
631
    {
632
        $this->size = $size;
633
634
        return $this;
635
    }
636
637
    /**
638
     * Get size
639
     *
640
     * @return bool
641
     */
642
    public function getSize()
643
    {
644
        return $this->size;
645
    }
646
647
    /**
648
     * Set difficulty
649
     *
650
     * @param bool $difficulty
651
     *
652
     * @return \AppBundle\Entity\Geocache
653
     */
654
    public function setDifficulty($difficulty)
655
    {
656
        $this->difficulty = $difficulty;
657
658
        return $this;
659
    }
660
661
    /**
662
     * Get difficulty
663
     *
664
     * @return bool
665
     */
666
    public function getDifficulty()
667
    {
668
        return $this->difficulty;
669
    }
670
671
    /**
672
     * Set terrain
673
     *
674
     * @param bool $terrain
675
     *
676
     * @return \AppBundle\Entity\Geocache
677
     */
678
    public function setTerrain($terrain)
679
    {
680
        $this->terrain = $terrain;
681
682
        return $this;
683
    }
684
685
    /**
686
     * Get terrain
687
     *
688
     * @return bool
689
     */
690
    public function getTerrain()
691
    {
692
        return $this->terrain;
693
    }
694
695
    /**
696
     * Set logpw
697
     *
698
     * @param string $logpw
699
     *
700
     * @return \AppBundle\Entity\Geocache
701
     */
702
    public function setLogpw($logpw)
703
    {
704
        $this->logpw = $logpw;
705
706
        return $this;
707
    }
708
709
    /**
710
     * Get logpw
711
     *
712
     * @return string
713
     */
714
    public function getLogpw()
715
    {
716
        return $this->logpw;
717
    }
718
719
    /**
720
     * Set searchTime
721
     *
722
     * @param float $searchTime
723
     *
724
     * @return \AppBundle\Entity\Geocache
725
     */
726
    public function setSearchTime($searchTime)
727
    {
728
        $this->searchTime = $searchTime;
729
730
        return $this;
731
    }
732
733
    /**
734
     * Get searchTime
735
     *
736
     * @return float
737
     */
738
    public function getSearchTime()
739
    {
740
        return $this->searchTime;
741
    }
742
743
    /**
744
     * Set wayLength
745
     *
746
     * @param float $wayLength
747
     *
748
     * @return \AppBundle\Entity\Geocache
749
     */
750
    public function setWayLength($wayLength)
751
    {
752
        $this->wayLength = $wayLength;
753
754
        return $this;
755
    }
756
757
    /**
758
     * Get wayLength
759
     *
760
     * @return float
761
     */
762
    public function getWayLength()
763
    {
764
        return $this->wayLength;
765
    }
766
767
    /**
768
     * Set wpGc
769
     *
770
     * @param string $wpGc
771
     *
772
     * @return \AppBundle\Entity\Geocache
773
     */
774
    public function setWpGc($wpGc)
775
    {
776
        $this->wpGc = $wpGc;
777
778
        return $this;
779
    }
780
781
    /**
782
     * Get wpGc
783
     *
784
     * @return string
785
     */
786
    public function getWpGc()
787
    {
788
        return $this->wpGc;
789
    }
790
791
    /**
792
     * Set wpGcMaintained
793
     *
794
     * @param string $wpGcMaintained
795
     *
796
     * @return \AppBundle\Entity\Geocache
797
     */
798
    public function setWpGcMaintained($wpGcMaintained)
799
    {
800
        $this->wpGcMaintained = $wpGcMaintained;
801
802
        return $this;
803
    }
804
805
    /**
806
     * Get wpGcMaintained
807
     *
808
     * @return string
809
     */
810
    public function getWpGcMaintained()
811
    {
812
        return $this->wpGcMaintained;
813
    }
814
815
    /**
816
     * Set wpNc
817
     *
818
     * @param string $wpNc
819
     *
820
     * @return \AppBundle\Entity\Geocache
821
     */
822
    public function setWpNc($wpNc)
823
    {
824
        $this->wpNc = $wpNc;
825
826
        return $this;
827
    }
828
829
    /**
830
     * Get wpNc
831
     *
832
     * @return string
833
     */
834
    public function getWpNc()
835
    {
836
        return $this->wpNc;
837
    }
838
839
    /**
840
     * Set wpOc
841
     *
842
     * @param string $wpOc
843
     *
844
     * @return \AppBundle\Entity\Geocache
845
     */
846
    public function setWpOc($wpOc)
847
    {
848
        $this->wpOc = $wpOc;
849
850
        return $this;
851
    }
852
853
    /**
854
     * Get wpOc
855
     *
856
     * @return string
857
     */
858
    public function getWpOc()
859
    {
860
        return $this->wpOc;
861
    }
862
863
    /**
864
     * Set descLanguages
865
     *
866
     * @param string $descLanguages
867
     *
868
     * @return \AppBundle\Entity\Geocache
869
     */
870
    public function setDescLanguages($descLanguages)
871
    {
872
        $this->descLanguages = $descLanguages;
873
874
        return $this;
875
    }
876
877
    /**
878
     * Get descLanguages
879
     *
880
     * @return string
881
     */
882
    public function getDescLanguages()
883
    {
884
        return $this->descLanguages;
885
    }
886
887
    /**
888
     * Set defaultDesclang
889
     *
890
     * @param string $defaultDesclang
891
     *
892
     * @return \AppBundle\Entity\Geocache
893
     */
894
    public function setDefaultDesclang($defaultDesclang)
895
    {
896
        $this->defaultDesclang = $defaultDesclang;
897
898
        return $this;
899
    }
900
901
    /**
902
     * Get defaultDesclang
903
     *
904
     * @return string
905
     */
906
    public function getDefaultDesclang()
907
    {
908
        return $this->defaultDesclang;
909
    }
910
911
    /**
912
     * Set dateActivate
913
     *
914
     * @param \DateTime $dateActivate
915
     *
916
     * @return \AppBundle\Entity\Geocache
917
     */
918
    public function setDateActivate(DateTime $dateActivate)
919
    {
920
        $this->dateActivate = $dateActivate;
921
922
        return $this;
923
    }
924
925
    /**
926
     * Get dateActivate
927
     *
928
     * @return \DateTime
929
     */
930
    public function getDateActivate()
931
    {
932
        return $this->dateActivate;
933
    }
934
935
    /**
936
     * Set needNpaRecalc
937
     *
938
     * @param bool $needNpaRecalc
939
     *
940
     * @return \AppBundle\Entity\Geocache
941
     */
942
    public function setNeedNpaRecalc($needNpaRecalc)
943
    {
944
        $this->needNpaRecalc = $needNpaRecalc;
945
946
        return $this;
947
    }
948
949
    /**
950
     * Get needNpaRecalc
951
     *
952
     * @return bool
953
     */
954
    public function getNeedNpaRecalc()
955
    {
956
        return $this->needNpaRecalc;
957
    }
958
959
    /**
960
     * Set showCachelists
961
     *
962
     * @param bool $showCachelists
963
     *
964
     * @return \AppBundle\Entity\Geocache
965
     */
966
    public function setShowCachelists($showCachelists)
967
    {
968
        $this->showCachelists = $showCachelists;
969
970
        return $this;
971
    }
972
973
    /**
974
     * Get showCachelists
975
     *
976
     * @return bool
977
     */
978
    public function getShowCachelists()
979
    {
980
        return $this->showCachelists;
981
    }
982
983
    /**
984
     * Set protectOldCoords
985
     *
986
     * @param bool $protectOldCoords
987
     *
988
     * @return \AppBundle\Entity\Geocache
989
     */
990
    public function setProtectOldCoords($protectOldCoords)
991
    {
992
        $this->protectOldCoords = $protectOldCoords;
993
994
        return $this;
995
    }
996
997
    /**
998
     * Get protectOldCoords
999
     *
1000
     * @return bool
1001
     */
1002
    public function getProtectOldCoords()
1003
    {
1004
        return $this->protectOldCoords;
1005
    }
1006
1007
    /**
1008
     * Set needsMaintenance
1009
     *
1010
     * @param bool $needsMaintenance
1011
     *
1012
     * @return \AppBundle\Entity\Geocache
1013
     */
1014
    public function setNeedsMaintenance($needsMaintenance)
1015
    {
1016
        $this->needsMaintenance = $needsMaintenance;
1017
1018
        return $this;
1019
    }
1020
1021
    /**
1022
     * Get needsMaintenance
1023
     *
1024
     * @return bool
1025
     */
1026
    public function getNeedsMaintenance()
1027
    {
1028
        return $this->needsMaintenance;
1029
    }
1030
1031
    /**
1032
     * Set listingOutdated
1033
     *
1034
     * @param bool $listingOutdated
1035
     *
1036
     * @return \AppBundle\Entity\Geocache
1037
     */
1038
    public function setListingOutdated($listingOutdated)
1039
    {
1040
        $this->listingOutdated = $listingOutdated;
1041
1042
        return $this;
1043
    }
1044
1045
    /**
1046
     * Get listingOutdated
1047
     *
1048
     * @return bool
1049
     */
1050
    public function getListingOutdated()
1051
    {
1052
        return $this->listingOutdated;
1053
    }
1054
1055
    /**
1056
     * Set flagsLastModified
1057
     *
1058
     * @param \DateTime $flagsLastModified
1059
     *
1060
     * @return \AppBundle\Entity\Geocache
1061
     */
1062
    public function setFlagsLastModified(DateTime $flagsLastModified)
1063
    {
1064
        $this->flagsLastModified = $flagsLastModified;
1065
1066
        return $this;
1067
    }
1068
1069
    /**
1070
     * Get flagsLastModified
1071
     *
1072
     * @return \DateTime
1073
     */
1074
    public function getFlagsLastModified()
1075
    {
1076
        return $this->flagsLastModified;
1077
    }
1078
1079
    /**
1080
     * Get cacheId
1081
     *
1082
     * @return int
1083
     */
1084
    public function getCacheId()
1085
    {
1086
        return $this->cacheId;
1087
    }
1088
}
1089