4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Validator;
15 * An object backed by a PHP class.
17 * @author Bernhard Schussek <bschussek@gmail.com>
19 * @deprecated since version 2.5, to be removed in 3.0.
20 * Use {@link Mapping\ClassMetadataInterface} instead.
22 interface ClassBasedInterface
25 * Returns the name of the backing PHP class.
27 * @return string The name of the backing class
29 public function getClassName();