Storm\Utilities\Cache\ICache::Contains PHP 메소드

Contains() 공개 메소드

public Contains ( $Key )
    public function Contains($Key);

Usage Example

예제 #1
0
 public final function GetFromCache(Object\Identity $Identity)
 {
     $IdentityHash = $Identity->Hash();
     return $this->Cache->Contains($IdentityHash) ? $this->Cache->Retrieve($IdentityHash) : null;
 }