{"action":"closed","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/7010","labels_url":"https://api.github.com/repos/laravel/framework/issues/7010/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/7010/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/7010/events","html_url":"https://github.com/laravel/framework/issues/7010","id":54440960,"number":7010,"title":"[Proposal] Add possibility to override dot separator symbol in Arr helper","user":{"login":"velosipedist","id":653773,"avatar_url":"https://avatars.githubusercontent.com/u/653773?v=3","gravatar_id":"","url":"https://api.github.com/users/velosipedist","html_url":"https://github.com/velosipedist","followers_url":"https://api.github.com/users/velosipedist/followers","following_url":"https://api.github.com/users/velosipedist/following{/other_user}","gists_url":"https://api.github.com/users/velosipedist/gists{/gist_id}","starred_url":"https://api.github.com/users/velosipedist/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/velosipedist/subscriptions","organizations_url":"https://api.github.com/users/velosipedist/orgs","repos_url":"https://api.github.com/users/velosipedist/repos","events_url":"https://api.github.com/users/velosipedist/events{/privacy}","received_events_url":"https://api.github.com/users/velosipedist/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-15T11:52:48Z","updated_at":"2015-01-23T20:04:26Z","closed_at":"2015-01-23T20:04:26Z","body":"For now, '.' is hardcoded as separator in flatten/get etc. helper methods.\r\n\r\nI suppose to move dot into protected static member to unlock extending possibility like\r\n\r\n```php\r\nclass MyArrImplementation{\r\n  protected static $dotSeparator  = '/';\r\n  // any extra functionality if needed, self::get('foo/bar') is already works\r\n}\r\n```\r\n\r\nI don't see any serious performance impact. Only errors possible on inherited class if author will change static separator on-the-fly, but it would be just his own problem.\r\n\r\nFor now i cannot use Illuminate/Support to extending and have to add Underscore library just for only that purpose."}}