Example for http://dron.by/post/pattern_proektirovaniya_chain_of_responsibility__tsepochka_obyazannostey__na_php.html