for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of Sulu.
*
* (c) MASSIVE ART WebServices GmbH
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Sulu\Component\DocumentManager\Exception;
/**
* Indicates invalid locale argument.
class InvalidLocaleException extends \InvalidArgumentException
{
* @var string
private $locale;
public function __construct($locale)
parent::__construct(sprintf('Invalid locale "%s"', $locale));
$this->locale = $locale;
}
* @return string
public function getLocale()
return $this->locale;