getType() 추상적인 공개 메소드

Returns media type
abstract public getType ( ) : string
리턴 string
예제 #1
0
 /**
  * Returns handler by storage Media instance
  *
  * @param Media $media media instance
  * @return AbstractHandler
  */
 public function getHandlerByMedia(Media $media)
 {
     return $this->getHandler($media->getType());
 }