<?php interface Chargeable { public function getPrice(); } class Employee implements Chargeable { protected $price; public function getPrice() { return $this->price; } } $product = new Employee(); ?>