azure-storage-common/src/Common/Models/SignedIdentifier.php
public function toArray()
    {
        $array = array();
        $accessPolicyArray = array();
        $accessPolicyArray[Resources::XTAG_SIGNED_ID] = $this->getId();
        $accessPolicyArray[Resources::XTAG_ACCESS_POLICY] =
            $this->getAccessPolicy()->toArray();
        $array[Resources::XTAG_SIGNED_IDENTIFIER] = $accessPolicyArray;

        return $array;
    }
public function toArray()
    {
        $array = array();
        $accessPolicyArray = array();
        $accessPolicyArray[Resources::XTAG_SIGNED_ID] = $this->getId();
        $accessPolicyArray[Resources::XTAG_ACCESS_POLICY] =
            $this->getAccessPolicy()->toArray();
        $array[Resources::XTAG_SIGNED_IDENTIFIER] = $accessPolicyArray;

        return $array;
    }
Converts this current object to XML representation.

@internal

@return array