public function isTriggeredBy($methodName)
    {
        foreach ($this->triggers as $trigger) {
            if ($trigger->isEqualTo($methodName)) {
                return true;
            }
        }

        return false;
    }
public function isTriggeredBy($methodName)
    {
        foreach ($this->triggers as $trigger) {
            if ($trigger->isEqualTo($methodName)) {
                return true;
            }
        }

        return false;
    }
@param $methodName
@return bool

@api