protected function getItem($key, $type)
	{
		if(array_key_exists($type, $this->storage) && array_key_exists($key, $this->storage[$type]))
		{
			return $this->storage[$type][$key];
		}

		return null;
	}
protected function getItem($key, $type)
	{
		if(array_key_exists($type, $this->storage) && array_key_exists($key, $this->storage[$type]))
		{
			return $this->storage[$type][$key];
		}

		return null;
	}
protected function getItem ( $ key , $ type ) { if ( array_key_exists ( $ type , $ this -> storage ) && array_key_exists ( $ key , $ this -> storage [ $ type ] ) ) { return $ this -> storage [ $ type ] [ $ key ] ; } return null ; }
Get item by id and type

@param  string $key
@param  string $type

@return DataTransferObject | null
Get item by id and type