public function getCurrentUserId() { return $this->rule->getTransaction()->getUserId(); }
public function __construct(Pap_Features_PerformanceRewards_Rule_Transaction $rule) { $this->rule = $rule; $this->transaction = $rule->getTransaction(); self::createActionsList(); }