public function getAll(Connection $connection): array
    {
        foreach ($this->registry as $types) {
            foreach (array_keys($types) as $type) {
                $this->get($connection, $type);
            }
        }

        return $this->instances[$connection->driver()];
    }
public function getAll(Connection $connection): array
    {
        foreach ($this->registry as $types) {
            foreach (array_keys($types) as $type) {
                $this->get($connection, $type);
            }
        }

        return $this->instances[$connection->driver()];
    }
public function getAll ( Connection $ connection ) : array { foreach ( $ this -> registry as $ types ) { foreach ( array_keys ( $ types ) as $ type ) { $ this -> get ( $ connection , $ type ) ; } } return $ this -> instances [ $ connection -> driver ( ) ] ; }
Get all defined handlers

@return ConstraintInterface[]
Get all defined handlers