src/SlashTrace.php
private function checkUniqueHandler(EventHandler $input)
    {
        foreach ($this->handlers as $handler) {
            if ($handler === $input) {
                throw new RuntimeException();
            }
        }
    }
private function checkUniqueHandler(EventHandler $input)
    {
        foreach ($this->handlers as $handler) {
            if ($handler === $input) {
                throw new RuntimeException();
            }
        }
    }
private function checkUniqueHandler ( EventHandler $ input ) { foreach ( $ this -> handlers as $ handler ) { if ( $ handler === $ input ) { throw new RuntimeException ( ) ; } } }
Checks that a particular handler hasn't already been registered

@param EventHandler $input
@throws RuntimeException
Checks that a particular handler hasn t already been registered