Open in app
Home
Notifications
Lists
Stories

Write
Yetesfa Alemayehu
Yetesfa Alemayehu

Home
About

Apr 13

Dart inheritance

Dart Inheritance Dart inheritance is defined as the process of deriving the properties and characteristics of another class. It provides the ability to create a new class from an existing class. It is the most essential concept of the oops(Object-Oriented programming approach). …

Flutter

2 min read

Dart inheritance
Dart inheritance

Apr 13

History Of Flutter

At the end of 2018 a new technology was born: “Flutter” in version 1.0, a new developer-friendly Framework , open source toolkit ,UI toolkit for building beautiful, natively compiled applications for mobile, web, desktop, and embedded devices from a single codebase. Short History Flutter 2 released on March 3 2021 brought official…

Flutter

4 min read

History Of Flutter
History Of Flutter

Jan 2, 2021

Set logged in user with Observers

Use ​ make: observer​ and fill in ​ creating()​ method to automatically set up ​ user_id​ field for currently logged in user. class PostObserver { public function creating(Post $post) { $post->user_id = auth()->id(); } }

Laravel

1 min read

Set logged in user with Observers

Use ​ make: observer​ and fill in ​ creating()​ method to automatically set up ​ user_id​ field for currently logged in user.

class PostObserver
{

public function creating(Post $post)
{
$post->user_id = auth()->id();
}
}

--

--

Yetesfa Alemayehu

Yetesfa Alemayehu

Following
  • Muhammad Affan Khan

    Muhammad Affan Khan

  • Sophia Martin

    Sophia Martin

  • Agnel Selvan

    Agnel Selvan

  • Keith Chen

    Keith Chen

  • Ashish Singh

    Ashish Singh

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable