public getOptions ( array | Traversable | |
||
$options | array | Traversable | |
|
return |
public function getOptions($options)
{
$result = new Options($options, ['identifyStringSource' => function ($source) {
return $this->startsWith($source, '<');
}]);
$result[self::LIBXML_OPTIONS] = (int) $result[self::LIBXML_OPTIONS];
return $result;
}