예제 #1
0
파일: Image.php 프로젝트: kingsj/core
 /**
  * Get body
  *
  * @return string
  */
 public function getBody()
 {
     if (self::STORAGE_S3 == $this->getStorageType()) {
         $body = $this->getS3() ? $this->getS3()->read($this->generateS3Path()) : null;
     } else {
         $body = parent::getBody();
     }
     return $body;
 }