File "PropertyPath.php"
Full Path: /home/warrior1/public_html/languages/wp-content/plugins/mailpoet/vendor-prefixed/symfony/validator/Util/PropertyPath.php
File size: 402 bytes
MIME-type: text/x-php
Charset: utf-8
<?php
namespace MailPoetVendor\Symfony\Component\Validator\Util;
if (!defined('ABSPATH')) exit;
class PropertyPath
{
public static function append(string $basePath, string $subPath)
{
if ('' !== $subPath) {
if ('[' === $subPath[0]) {
return $basePath . $subPath;
}
return '' !== $basePath ? $basePath . '.' . $subPath : $subPath;
}
return $basePath;
}
private function __construct()
{
}
}