This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>AllowClipboardAccess</key> | |
<true/> | |
<key>AlternateMouseScroll</key> | |
<true/> | |
<key>AppleAntiAliasingThreshold</key> | |
<integer>1</integer> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace FileStorage; | |
use File; | |
use Config; | |
use Storage; | |
use Exception; | |
use App\Helpers\MimeType; | |
use InvalidArgumentException; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$data = Product::where('type', 'Ring')->get(); | |
return $data->pluck('product_name'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$data = [ | |
(object) [ | |
'name' => 'Ring [A0123]', | |
'price' => 25, | |
'created_at' => '2016-07-20' | |
], | |
(object) [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-09-18T09:55:06.042Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2018-02-08T09:31:34.535Z","extensionVersion":"v2.8.7"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$initialArray = [[1, 2, [3]], 4]; | |
/** | |
* This function is used to flatten arrays and also even nested arrays. | |
* | |
* It first loops through each element of the array and if the element is an | |
* integer it adds it as an element of the flattened array (flat 1). Else if the | |
* element is an array, it passes the already flatened array to the function and then | |
* it flattens that array too (flat 2). It then assigns the new flattend array together | |
* with the already existing elements of the array to the flattened array (which contains |