This question already has an answer here:
- Why is type hinting necessary in PHP? 5 answers
I've come across the following method signature:
public function register(ServiceProviderInterface $provider, array $values = []){}
I don't understand the part that reads ServiceProviderInterface $provider
. Can someone please explain what it does?
</div>