src/OpenTok/OpenTok.php
public function getArchive($archiveId)
    {
        Validators::validateArchiveId($archiveId);

        $archiveData = $this->client->getArchive($archiveId);
        return new Archive($archiveData, array( 'client' => $this->client ));
    }
public function getArchive($archiveId)
    {
        Validators::validateArchiveId($archiveId);

        $archiveData = $this->client->getArchive($archiveId);
        return new Archive($archiveData, array( 'client' => $this->client ));
    }
public function getArchive ( $ archiveId ) { Validators :: validateArchiveId ( $ archiveId ) ; $ archiveData = $ this -> client -> getArchive ( $ archiveId ) ; return new Archive ( $ archiveData , array ( 'client' => $ this -> client ) ) ; }
Gets an Archive object for the given archive ID.

@param String $archiveId The archive ID.

@throws ArchiveException There is no archive with the specified ID.
@throws InvalidArgumentException The archive ID provided is null or an empty string.

@return Archive The Archive object.
Gets an Archive object for the given archive ID .