As you know json_encode is encoding only array or public properties of an object. But print_r can expose the protected and private properties in an object. Sometimes we need to these hidden properties. For this purpose we Devamı…
Normally you can use where(), find(), get() and other static methods. But PHPStorm isn’t auto completing these methods although these methods exist. If you want to autocomplete these methods in PHPStorm I have an idea Devamı…
For example you’re developing an app in Laravel. You want to add a new Route to routes/web.phpfile. Route::get('payment', 'App\\Http\\Controllers\[email protected]'); As you can see you must write class and method name as string. But you can make Devamı…
0 yorum