src/Model/Comment.php
public function markSpam()
    {
        $this->IsSpam = true;
        $this->Moderated = true;
        $this->write();
        $this->extend('afterMarkSpam');
    }
public function markSpam()
    {
        $this->IsSpam = true;
        $this->Moderated = true;
        $this->write();
        $this->extend('afterMarkSpam');
    }
public function markSpam ( ) { $ this -> IsSpam = true ; $ this -> Moderated = true ; $ this -> write ( ) ; $ this -> extend ( 'afterMarkSpam' ) ; }
Mark this comment as spam
Mark this comment as spam