getData() public method

It will be calculated and cached if it was not previously known.
public getData ( ) : string
return string Data for this encoding.
Beispiel #1
0
 public function testDataCannotEncode()
 {
     $this->setExpectedException('\\InvalidArgumentException');
     $cp = new CodePage("foo", array("name" => "foo"));
     $this->assertFalse($cp->isEncodable());
     $cp->getData();
 }