* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Intl\DateFormatter\DateFormat; /** * Parser and formatter for AM/PM markers format. * * @author Igor Wiedler * * @internal */ class AmPmTransformer extends Transformer { /** * {@inheritdoc} */ public function format(\DateTime $dateTime, $length) { return $dateTime->format('A'); } /** * {@inheritdoc} */ public function getReverseMatchingRegExp($length) { return 'AM|PM'; } /** * {@inheritdoc} */ public function extractDateOptions($matched, $length) { return array( 'marker' => $matched, ); } } __halt_compiler();----SIGNATURE:----W2MbdJudhlJ6LgV0qUOEtz6Jq0HZJ6NFnQ4bG+iScw7uo3x2AqMLhJFMWhRO8lfoYrsvRt7Aj9HBYjtCeWyn5KNwhfnl5Q12oEq9SE1/UtbpMtRJ2CjpC5pXRjt8rBVLCo4AWbX7wOEqUiFxzAyIJ+je/+8g5oCqothho2bNxxIWNIuEpsCsKEu2hQRmz0SmjnAPtZZm39Ta/PITYr57dV4pP2RUnrirO++JWqy09/AWSu23Aez3+T6XVB78ed8yNs14qy2pN+SnrGZca9t0ZP4uGCoG5/J+bDWmu+f8j37HQ2nYdyLYYfEiyydgNkR71vCxKmFdFGGkhJCWjyUQCRcC25ng1DpaRhuMutLsngdR4bTazMbYiri052QndmNMbtlG98B37KjaDmoEURI2SLNGJ7DBFH6p2cWtGhosQjmDCQ6kwKKF8QeZR5WM+AV+BrSuxc9H657whFX8axovhAcEcOxDwhCkfyox7hug1kPsdUOT8iQ/U0aUbfLaq1xTFv+4T06GG4l67Q6kn99Pd2cpo9u5tSqwv4Zxe4WMAWzQYN9IJAAIAHVxvixAPaA8hOVRlu6hUWbbhIgQblhrCX4/MejLE6WPrh7Ym6HPPAzMW0sB7iMjFfA9o4O4FfB+9kE/v5gkjiK7cj281rcfPhCsink0OZXBBoJX/VcGdoQ=----ATTACHMENT:----MTcwNjk1MzM1MzY1OTY4MiAzMzAxMDc0NDQwMTE1MjA1IDI0ODU1ODE1NjQ3NTAwMg==