public function get($typeKey, $identifier)
    {
        $map = $this->getAllForType($typeKey);
        if (isset($map[$identifier])) {
            return $map[$identifier];
        }
        return null;
    }
public function get($typeKey, $identifier)
    {
        $map = $this->getAllForType($typeKey);
        if (isset($map[$identifier])) {
            return $map[$identifier];
        }
        return null;
    }
public function get ( $ typeKey , $ identifier ) { $ map = $ this -> getAllForType ( $ typeKey ) ; if ( isset ( $ map [ $ identifier ] ) ) { return $ map [ $ identifier ] ; } return null ; }
Gets a model from the memory cache, based on type and identifier.

@param   string  $typeKey
@param   string  $identifier
@return  Model|null
Gets a model from the memory cache based on type and identifier .