Skip to content
Snippets Groups Projects
Commit ab8937ba authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

missing setters for setChildrenCount and setLatestChildDateTime (formerly …Timestamp)

parent 4005c033
Branches
No related tags found
No related merge requests found
...@@ -64,6 +64,15 @@ interface IComment { ...@@ -64,6 +64,15 @@ interface IComment {
*/ */
public function getChildrenCount(); 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 * returns the message of the comment
* *
...@@ -137,19 +146,28 @@ interface IComment { ...@@ -137,19 +146,28 @@ interface IComment {
/** /**
* sets the creation date of the comment and returns itself * sets the creation date of the comment and returns itself
* *
* @param \DateTime $timestamp * @param \DateTime $dateTime
* @return IComment * @return IComment
* @since 9.0.0 * @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 * @since 9.0.0
*/ */
public function getLatestChildTimestamp(); public function setLatestChildDateTime(\DateTime $dateTime);
/** /**
* returns the object type the comment is attached to * returns the object type the comment is attached to
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment