Source of file LogoHorizontalAlign.php
Size: 1,304 Bytes - Last Modified: 2019-01-11T00:06:02+01:00
/Users/sylvainraye/Sites/git/swisspost/src/EnumType/LogoHorizontalAlign.php
| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 | <?phpnamespace Diglin\Swisspost\EnumType; /** * This class stands for LogoHorizontalAlign EnumType * Meta informations extracted from the WSDL * - documentation: Default value is WITH_CONTENT. * @subpackage Enumerations * @date 2019/01/11 * @codeVersion 1.0.0 */class LogoHorizontalAlign {/** * Constant for value 'WITH_CONTENT' * @return string 'WITH_CONTENT' */const VALUE_WITH_CONTENT = 'WITH_CONTENT'; /** * Constant for value 'LEFT' * @return string 'LEFT' */const VALUE_LEFT = 'LEFT'; /** * Return true if value is allowed * @uses self::getValidValues() * @param mixed $value value * @return bool true|false */public static function valueIsValid($value) { return ($value === null) || in_array($value, self::getValidValues(), true); } /** * Return allowed values * @uses self::VALUE_WITH_CONTENT * @uses self::VALUE_LEFT * @return string[] */public static function getValidValues() { return array( self::VALUE_WITH_CONTENT, self::VALUE_LEFT, ); } /** * Method returning the class name * @return string __CLASS__ */public function __toString() { return __CLASS__; } } |