Issues (3936)

Classes/Domain/Model/Bookmark.php (1 issue)

1
<?php
2
namespace EWW\Dpf\Domain\Model;
3
4
/*
5
 * This file is part of the TYPO3 CMS project.
6
 *
7
 * It is free software; you can redistribute it and/or modify it under
8
 * the terms of the GNU General Public License, either version 2
9
 * of the License, or any later version.
10
 *
11
 * For the full copyright and license information, please read the
12
 * LICENSE.txt file that was distributed with this source code.
13
 *
14
 * The TYPO3 project - inspiring people to share!
15
 */
16
17
/**
18
 * Class Bookmark
19
 *
20
 *
21
 * @package EWW\Dpf\Domain\Model
22
 */
23
class Bookmark extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
24
{
25
    /**
26
     * documentIdentifier : A document uid or a fedoroPid object identifier.
27
     *
28
     * @var string
29
     */
30
    protected $documentIdentifier = '';
31
32
    /**
33
     * feUserUid : Uid of the frontend user.
34
     *
35
     * @var integer
36
     */
37
    protected $feUserUid = 0;
38
39
    /**
40
     * Gets the document identifier
41
     *
42
     * @return int
43
     */
44
    public function getDocumentIdentifier()
45
    {
46
        return $this->documentIdentifier;
0 ignored issues
show
Bug Best Practice introduced by
The expression return $this->documentIdentifier returns the type string which is incompatible with the documented return type integer.
Loading history...
47
    }
48
49
    /**
50
     * Sets the document identifier
51
     *
52
     * @param int $documentIdentifier
53
     */
54
    public function setDocumentIdentifier($documentIdentifier)
55
    {
56
        $this->documentIdentifier = $documentIdentifier;
57
    }
58
59
    /**
60
     * Gets the feuser uid
61
     *
62
     * @return int
63
     */
64
    public function getFeUserUid()
65
    {
66
        return $this->feUserUid;
67
    }
68
69
    /**
70
     * Sets the feuser uid
71
     *
72
     * @param int $feUserUid
73
     */
74
    public function setFeUserUid($feUserUid)
75
    {
76
        $this->feUserUid = $feUserUid;
77
    }
78
79
}