src/Factory/Email.php
public function data($mKey, $mValue = null)
    {
        if (is_array($mKey)) {
            foreach ($mKey as $sKey => $mValue) {
                $this->data($sKey, $mValue);
            }
        } else {
            $this->aData[$mKey] = $mValue;
        }

        return $this;
    }
public function data($mKey, $mValue = null)
    {
        if (is_array($mKey)) {
            foreach ($mKey as $sKey => $mValue) {
                $this->data($sKey, $mValue);
            }
        } else {
            $this->aData[$mKey] = $mValue;
        }

        return $this;
    }
public function data ( $ mKey , $ mValue = null ) { if ( is_array ( $ mKey ) ) { foreach ( $ mKey as $ sKey => $ mValue ) { $ this -> data ( $ sKey , $ mValue ) ; } } else { $ this -> aData [ $ mKey ] = $ mValue ; } return $ this ; }
Set email payload data

@param array|string $mKey   An array of key value pairs, or the key if supplying the second parameter
@param mixed        $mValue The value

@return $this
Set email payload data