So I am fairly new to OOP PHP and Laravel. I am building a new package that will interface with other ticketing systems. I would like to implement the proper way of doing this by using an interface, repository, etc. However, part of doing the interface, I know that all of the classes that implement that interface need to have the same functions, etc.
What if you have a ticketing system that has an extra function that you want to implement. Can you do that, and should you do that?
For example Ticket System A:
function getTicket
function createTicket
function closeTicket
function deleteTicket
Ticket System B:
function getTicket
function createTicket
function closeTicket
function deleteTicket
function lockTicket <--- Extra
function someotherspecialfunctionTicket <--- Extra function
Any direction on how this should be done would greatly be appreciated.
Thanks