PhpMigration\Changes\AbstractIntroduced::isNewMethod PHP Method

isNewMethod() protected method

protected isNewMethod ( $node, &$mname = null )
    protected function isNewMethod($node, &$mname = null)
    {
        if (!isset($this->methodTable) || !$node instanceof Stmt\ClassMethod) {
            return false;
        }
        $class = $this->visitor->getClass();
        if (!$class instanceof Stmt\Class_ || !$class->migExtends) {
            return false;
        }
        $mname = $class->migExtends . '::' . $node->migName;
        return $this->methodTable->has($mname);
    }