<?php
namespace Faker\Provider\tr_TR;
class DateTime extends \Faker\Provider\DateTime
{
public static function amPm($max = 'now')
{
return static::dateTime($max)->format('a') === 'am' ? 'öö' : 'ös';
}
public static function dayOfWeek($max = 'now')
{
$map = [
'Sunday' => 'Pazar',
'Monday' => 'Pazartesi',
'Tuesday' => 'Salı',
'Wednesday' => 'Çarşamba',
'Thursday' => 'Perşembe',
'Friday' => 'Cuma',
'Saturday' => 'Cumartesi',
];
$week = static::dateTime($max)->format('l');
return $map[$week] ?? $week;
}
public static function monthName($max = 'now')
{
$map = [
'January' => 'Ocak',
'February' => 'Şubat',
'March' => 'Mart',
'April' => 'Nisan',
'May' => 'Mayıs',
'June' => 'Haziran',
'July' => 'Temmuz',
'August' => 'Ağustos',
'September' => 'Eylül',
'October' => 'Ekim',
'November' => 'Kasım',
'December' => 'Aralık',
];
$month = static::dateTime($max)->format('F');
return $map[$month] ?? $month;
}
}
Save Cards
Simplify your payment experience by securely saving your card on our platform. After your initial transaction, you can choose to store your card details safely for future use. This feature eliminates the need to re-enter your payment information each time, making checkouts faster while keeping your data secure with advanced encryption and robust security measures.