public getProperty ( string $name ) : string | ||
$name | string | |
return | string |
public function getProperty($name)
{
return isset($this->_properties[$name]) ? $this->_properties[$name] : null;
}
/** * @covers PHPRtfLite::getProperty * @dataProvider provideSetProperty */ public function testSetProperty($name, $timestamp, $expected) { $this->_rtf->setProperty($name, $timestamp); $this->assertEquals($expected, $this->_rtf->getProperty($name)); }