Automattic\WooCommerce\Vendor\Sabberworm\CSS\Comment

Commentable{}interfaceWC 1.0

No Hooks.

Usage

$Commentable = new Commentable();
// use class methods

Methods

  1. public addComments(array $aComments)
  2. public getComments()
  3. public setComments(array $aComments)

Commentable{} code WC 10.7.0

interface Commentable
{
    /**
     * @param array<array-key, Comment> $aComments
     *
     * @return void
     */
    public function addComments(array $aComments);

    /**
     * @return array<array-key, Comment>
     */
    public function getComments();

    /**
     * @param array<array-key, Comment> $aComments
     *
     * @return void
     */
    public function setComments(array $aComments);
}