protected static function getChildName(string $name, string $ownName): string
    {
        if ($name === $ownName) {
            return $name;
        }

        return substr($name, strlen($ownName) + 1);
    }
protected static function getChildName(string $name, string $ownName): string
    {
        if ($name === $ownName) {
            return $name;
        }

        return substr($name, strlen($ownName) + 1);
    }
protected static function getChildName ( string $ name , string $ ownName ) : string { if ( $ name === $ ownName ) { return $ name ; } return substr ( $ name , strlen ( $ ownName ) + 1 ) ; }
helper method to calculate the child name

@param   string  $name
@param   string  $ownName
@return  string
helper method to calculate the child name