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
4005c033
Commit
4005c033
authored
9 years ago
by
Arthur Schiwon
Browse files
Options
Downloads
Patches
Plain Diff
give creation datetime setter and getter a more meaningful and less misleading name
parent
d43abd0b
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
+5
-5
5 additions, 5 deletions
lib/public/comments/icomment.php
with
5 additions
and
5 deletions
lib/public/comments/icomment.php
+
5
−
5
View file @
4005c033
...
...
@@ -125,23 +125,23 @@ interface IComment {
public
function
setActor
(
$actorType
,
$actorId
);
/**
* returns the
unix timestamp
of the comment.
* returns the
creation date
of the comment.
*
* If not explicit
e
ly set, it shall default to the time of initialization.
* If not explicitly set, it shall default to the time of initialization.
*
* @return \DateTime
* @since 9.0.0
*/
public
function
get
Timestamp
();
public
function
get
CreationDateTime
();
/**
* sets the
timestamp
of the comment and returns itself
* sets the
creation date
of the comment and returns itself
*
* @param \DateTime $timestamp
* @return IComment
* @since 9.0.0
*/
public
function
set
Timestamp
(
\DateTime
$timestamp
);
public
function
set
CreationDateTime
(
\DateTime
$timestamp
);
/**
* returns the timestamp of the most recent child
...
...
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