PhpMigration\Changes\AbstractIntroduced::isNewClass PHP Method

isNewClass() protected method

protected isNewClass ( $node )
    protected function isNewClass($node)
    {
        if (!isset($this->classTable) || !$node instanceof Stmt\ClassLike || is_null($node->migName)) {
            return false;
        }
        return $this->classTable->has($node->migName);
    }