{
    public function method();
}
interface IAB
{
    public function method2();
}
interface IAC extends IAA, IAB
{
    public function method3();
}
class AC implements IAC
{
    public function method()
    {
        echo "method" . PHP_EOL;
    }
    public function method2()
    {
        echo "method2" . PHP_EOL;
    }
    public function method3()
    {
        echo "method3" . PHP_EOL;
    }
}
$ac = new AC();
$ac->method();
$ac->method2();
$ac->method3();