Welcome Guest, Not a member yet? Register   Sign In
CacheInterface In view cell
#2

That simply means that the constructor will accept any class that implements CacheInterface. So, you couldn't pass the actual interface to it and expect it to do anything, but you could pass either Cache\FileHandler or Cache\RedisHandler class if they both implemented that interface.
Reply


Messages In This Thread
RE: CacheInterface In view cell - by kilishan - 11-16-2016, 07:02 AM
RE: CacheInterface In view cell - by kilishan - 11-16-2016, 08:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB