Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
die_coolen_jungs
our_own_cloud_project
Commits
ab8937ba
Commit
ab8937ba
authored
9 years ago
by
Arthur Schiwon
Browse files
Options
Downloads
Patches
Plain Diff
missing setters for setChildrenCount and setLatestChildDateTime (formerly …Timestamp)
parent
4005c033
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/public/comments/icomment.php
+23
-5
23 additions, 5 deletions
lib/public/comments/icomment.php
with
23 additions
and
5 deletions
lib/public/comments/icomment.php
+
23
−
5
View file @
ab8937ba
...
...
@@ -64,6 +64,15 @@ interface IComment {
*/
public
function
getChildrenCount
();
/**
* sets the number of children
*
* @param int $count
* @return IComment
* @since 9.0.0
*/
public
function
setChildrenCount
(
$count
);
/**
* returns the message of the comment
*
...
...
@@ -137,19 +146,28 @@ interface IComment {
/**
* sets the creation date of the comment and returns itself
*
* @param \DateTime $
timestamp
* @param \DateTime $
dateTime
* @return IComment
* @since 9.0.0
*/
public
function
setCreationDateTime
(
\DateTime
$
timestamp
);
public
function
setCreationDateTime
(
\DateTime
$
dateTime
);
/**
* returns the
timestamp
of the most recent child
* returns the
date
of the most recent child
*
* @return int
* @return \DateTime
* @since 9.0.0
*/
public
function
getLatestChildDateTime
();
/**
* sets the date of the most recent child
*
* @param \DateTime $dateTime
* @return IComment
* @since 9.0.0
*/
public
function
g
etLatestChild
Timestamp
(
);
public
function
s
etLatestChild
DateTime
(
\DateTime
$dateTime
);
/**
* returns the object type the comment is attached to
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment