You are here

public function DumperTest::testObjectSupportDisabledWithExceptions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/yaml/Tests/DumperTest.php \Symfony\Component\Yaml\Tests\DumperTest::testObjectSupportDisabledWithExceptions()

@expectedException \Symfony\Component\Yaml\Exception\DumpException

File

vendor/symfony/yaml/Tests/DumperTest.php, line 196

Class

DumperTest

Namespace

Symfony\Component\Yaml\Tests

Code

public function testObjectSupportDisabledWithExceptions() {
  $this->dumper
    ->dump(array(
    'foo' => new A(),
    'bar' => 1,
  ), 0, 0, true, false);
}