EntityCountLimitExceeded::__construct PHP Method

__construct() public method

public __construct ( $reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null )
        public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null, $fieldPath = null, $trigger = null, $errorString = null, $ApiErrorType = null)
        {
            parent::__construct();
            $this->reason = $reason;
            $this->enclosingId = $enclosingId;
            $this->limit = $limit;
            $this->accountLimitType = $accountLimitType;
            $this->existingCount = $existingCount;
            $this->fieldPath = $fieldPath;
            $this->trigger = $trigger;
            $this->errorString = $errorString;
            $this->ApiErrorType = $ApiErrorType;
        }

Usage Example

 public function __construct($reason = null, $enclosingId = null, $limit = null, $accountLimitType = null, $existingCount = null)
 {
     parent::__construct();
     $this->reason = $reason;
     $this->enclosingId = $enclosingId;
     $this->limit = $limit;
     $this->accountLimitType = $accountLimitType;
     $this->existingCount = $existingCount;
 }
All Usage Examples Of EntityCountLimitExceeded::__construct