1<documentation title="One Interface Per File">
2    <standard>
3    <![CDATA[
4    There should only be one interface defined in a file.
5    ]]>
6    </standard>
7    <code_comparison>
8        <code title="Valid: Only one interface in the file.">
9        <![CDATA[
10<?php
11<em>interface Foo</em>
12{
13}
14        ]]>
15        </code>
16        <code title="Invalid: Multiple interfaces defined in one file.">
17        <![CDATA[
18<?php
19<em>interface Foo</em>
20{
21}
22
23<em>interface Bar</em>
24{
25}
26        ]]>
27        </code>
28    </code_comparison>
29</documentation>
30