Interfaces binding with implementations in Laravel

  • avatar
  • 1.8K Views
  • 5 Likes
  • 6 mins read
Preview post image

An interface is a programming structure that allows the computer to enforce certain properties on an object. In object oriented programming, an interface generally defines the set of methods that an instance of a class that has that interface could respond to. It is actually a concept of abstraction and encapsulation.