setMime() 공개 메소드

Set the file mime type.
public setMime ( string $mime ) : File
$mime string
리턴 File
예제 #1
0
 public function testSetMimeException()
 {
     $this->setExpectedException('Pop\\File\\Exception');
     $f = new File('accesslog.txt');
     $f->setMime('bad/mime');
 }