Class Socialveo\Core\helpers\SpamHelper

InheritanceSocialveo\Core\helpers\SpamHelper

Class SpamHelper

Public Methods

Hide inherited methods

MethodDescriptionDefined By
create() Create a spam Socialveo\Core\helpers\SpamHelper

Method Details

create() public static method

Create a spam

public static Socialveo\Core\models\Spam create ( Socialveo\Core\models\SocialveoModel $target, $target_type, $spam_type, $user null )
$target Socialveo\Core\models\SocialveoModel|Socialveo\Core\models\Post|Socialveo\Core\models\Comment
$target_type string
$spam_type string
$user Socialveo\Core\models\User|null
throws Exception