public function exampleFailed(Example $example)
    {
        $this->failures[] = $example;
        $event = new ExampleFailEvent($example);
        $this->dispatcher->dispatch(Events::EXAMPLE_FAIL, $event);
    }
public function exampleFailed(Example $example)
    {
        $this->failures[] = $example;
        $event = new ExampleFailEvent($example);
        $this->dispatcher->dispatch(Events::EXAMPLE_FAIL, $event);
    }
public function exampleFailed ( Example $ example ) { $ this -> failures [ ] = $ example ; $ event = new ExampleFailEvent ( $ example ) ; $ this -> dispatcher -> dispatch ( Events :: EXAMPLE_FAIL , $ event ) ; }
An example failed

@param Example $example
An example failed