public function DumperTest::testObjectSupportDisabledWithExceptions in Lockr 7.3
@expectedException \Symfony\Component\Yaml\Exception\DumpException
File
- vendor/
symfony/ yaml/ Tests/ DumperTest.php, line 236
Class
Namespace
Symfony\Component\Yaml\TestsCode
public function testObjectSupportDisabledWithExceptions() {
$this->dumper
->dump([
'foo' => new A(),
'bar' => 1,
], 0, 0, Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE);
}