1: <?php 2: namespace NGS\Patterns; 3: 4: interface IDomainObject 5: { 6: public function toJson(); 7: public function toArray(); 8: } 9: