Overtrue\Validation\Validator::getDateFormat PHP Метод

getDateFormat() защищенный Метод

Get the date format for an attribute if it has one.
protected getDateFormat ( string $attribute ) : string | null
$attribute string
Результат string | null
    protected function getDateFormat($attribute)
    {
        if ($result = $this->getRule($attribute, 'DateFormat')) {
            return $result[1][0];
        }
    }
Validator