1.2.615. Is Interface Method

Mark a method as part of an interface that the current class implements.

<?php

interface i {
    function i20();
}

class x implements i {
    // This is an interface method
    function i20() {}

    // This is not an interface method
    function x20() {}
}

?>

1.2.615.1. Connex PHP features

1.2.615.1.1. Specs

Short name

Classes/IsInterfaceMethod

Rulesets

All, Changed Behavior

Exakat since

0.8.4

PHP Version

All

Severity

Time To Fix

Precision

High

Available in

Entreprise Edition, Exakat Cloud