Observator Pattern in PHP.