Laravel Retrieving Translation Strings with Slash Returning the Slash with Backslash

前端 未结 0 1126
别那么骄傲
别那么骄傲 2020-12-03 15:09

What I try:

// SomeRequest.php
public function attributes()
{
    return [
        \'phone\' => __(\'Phone Number\'),
    ];
}


// id.json
{
    "Pho         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题