Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Differences Between: [Versions 400 and 401] [Versions 400 and 402] [Versions 400 and 403]

   1  <?php
   2  
   3  namespace Sabberworm\CSS\Comment;
   4  
   5  interface Commentable {
   6  
   7  	 /**
   8  	  * @param array $aComments Array of comments.
   9  	  */
  10  	public function addComments(array $aComments);
  11  
  12  	 /**
  13  	  * @return array
  14  	  */
  15  	public function getComments();
  16  
  17  	 /**
  18  	  * @param array $aComments Array containing Comment objects.
  19  	  */
  20  	public function setComments(array $aComments);
  21  
  22  
  23  }