isMultipart() public method

Returns whether the field requires a multipart form.
public isMultipart ( ) : boolean
return boolean
Exemplo n.º 1
0
 public function testIsNotMultipartIfNoFieldIsMultipart()
 {
     $group = new FieldGroup('author');
     $group->add($this->createNonMultipartMockField('firstName'));
     $group->add($this->createNonMultipartMockField('lastName'));
     $this->assertFalse($group->isMultipart());
 }