Copied!

AssignUserToSegmentEvent

AssignUserToSegmentEvent.php : 15
Extends AfterEvent

Event emitted after action execution.

Methods

public__construct()

AssignUserToSegmentEvent.php : 21
public __construct(User $user, Segment $segment)

Parameters

Name Type Default value Description
$user User - -
$segment Segment - -

publicgetSegment()

AssignUserToSegmentEvent.php : 32
public getSegment() : Segment

Return values

Segment

publicgetUser()

AssignUserToSegmentEvent.php : 27
public getUser() : User

Return values

User