Gaufrette\Adapter\AzureBlobStorage::mtime PHP Method

mtime() public method

public mtime ( $key )
    public function mtime($key)
    {
        $this->init();
        try {
            $properties = $this->blobProxy->getBlobProperties($this->containerName, $key);
            return $properties->getProperties()->getLastModified()->getTimestamp();
        } catch (ServiceException $e) {
            $this->failIfContainerNotFound($e, sprintf('read mtime for key "%s"', $key));
            return false;
        }
    }