Naux\Mail\SendCloudTransport::getAddress PHP Method

getAddress() protected method

获取地址.
protected getAddress ( $data ) : mixed
$data
return mixed
    protected function getAddress($data)
    {
        if (!$data) {
            return;
        }
        return array_get(array_keys($data), 0, null);
    }